[lsc-changes] r293 - in lsc: branches/v1.1/src/main/java/org/lsc trunk/src/main/java/org/lsc

jclarke at lsc-project.org jclarke at lsc-project.org
Fri Jul 17 16:27:18 CEST 2009


Author: jclarke
Date: 2009-07-17 16:27:18 +0200 (Fri, 17 Jul 2009)
New Revision: 293

Modified:
   lsc/branches/v1.1/src/main/java/org/lsc/Configuration.java
   lsc/trunk/src/main/java/org/lsc/Configuration.java
Log:
Fix typo in method name

Modified: lsc/branches/v1.1/src/main/java/org/lsc/Configuration.java
===================================================================
--- lsc/branches/v1.1/src/main/java/org/lsc/Configuration.java	2009-07-17 13:12:20 UTC (rev 292)
+++ lsc/branches/v1.1/src/main/java/org/lsc/Configuration.java	2009-07-17 14:27:18 UTC (rev 293)
@@ -269,10 +269,10 @@
 	 *            the user defined location
 	 */
 	public static void setLocation(String configurationLocation) {
-		location = appendDirSeperator(configurationLocation);
+		location = appendDirSeparator(configurationLocation);
 	}
 	
-	private static String appendDirSeperator(String path) {
+	private static String appendDirSeparator(String path) {
 		String seperator = System.getProperty("file.separator");
 		if (!path.endsWith(seperator)) {
 			return path + seperator;
@@ -309,7 +309,7 @@
 			try
 			{
 				// convert the URL to a URI to reverse any character encoding (" " -> "%20" for example)
-				ret = appendDirSeperator(new File(propertiesURL.toURI().getPath()).getParent());
+				ret = appendDirSeparator(new File(propertiesURL.toURI().getPath()).getParent());
 			}
 			catch (URISyntaxException e)
 			{

Modified: lsc/trunk/src/main/java/org/lsc/Configuration.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/Configuration.java	2009-07-17 13:12:20 UTC (rev 292)
+++ lsc/trunk/src/main/java/org/lsc/Configuration.java	2009-07-17 14:27:18 UTC (rev 293)
@@ -269,10 +269,10 @@
 	 *            the user defined location
 	 */
 	public static void setLocation(String configurationLocation) {
-		location = appendDirSeperator(configurationLocation);
+		location = appendDirSeparator(configurationLocation);
 	}
 	
-	private static String appendDirSeperator(String path) {
+	private static String appendDirSeparator(String path) {
 		String seperator = System.getProperty("file.separator");
 		if (!path.endsWith(seperator)) {
 			return path + seperator;
@@ -309,7 +309,7 @@
 			try
 			{
 				// convert the URL to a URI to reverse any character encoding (" " -> "%20" for example)
-				ret = appendDirSeperator(new File(propertiesURL.toURI().getPath()).getParent());
+				ret = appendDirSeparator(new File(propertiesURL.toURI().getPath()).getParent());
 			}
 			catch (URISyntaxException e)
 			{



More information about the lsc-changes mailing list