[lsc-changes] r516 - lsc/trunk/src/main/java/org/lsc

rschermesser at lsc-project.org rschermesser at lsc-project.org
Mon Nov 30 15:28:49 CET 2009


Author: rschermesser
Date: 2009-11-30 15:28:49 +0100 (Mon, 30 Nov 2009)
New Revision: 516

Modified:
   lsc/trunk/src/main/java/org/lsc/SimpleSynchronize.java
Log:
Remove toString() call on a String

Modified: lsc/trunk/src/main/java/org/lsc/SimpleSynchronize.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/SimpleSynchronize.java	2009-11-30 14:28:41 UTC (rev 515)
+++ lsc/trunk/src/main/java/org/lsc/SimpleSynchronize.java	2009-11-30 14:28:49 UTC (rev 516)
@@ -144,14 +144,14 @@
 			String taskName = tasksSt.nextToken();
 
 			// Launch the task either if explicitly specified or if "all" magic keyword used
-			if (isSyncTaskAll || syncTasks.contains(taskName.toString())) {
+			if (isSyncTaskAll || syncTasks.contains(taskName)) {
 				foundATask = true;
 
 				if (!launchTask(taskName, TaskMode.sync)) {
 					return false;
 				}
 			}
-			if (isCleanTaskAll || cleanTasks.contains(taskName.toString())) {
+			if (isCleanTaskAll || cleanTasks.contains(taskName)) {
 				foundATask = true;
 
 				if (!launchTask(taskName, TaskMode.clean)) {



More information about the lsc-changes mailing list