You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by sp...@apache.org on 2006/09/12 21:56:43 UTC

svn commit: r442687 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java

Author: sppatel
Date: Tue Sep 12 12:56:43 2006
New Revision: 442687

URL: http://svn.apache.org/viewvc?view=rev&rev=442687
Log:
move trace statement down into if block where path entry is being added

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java?view=diff&rev=442687&r1=442686&r2=442687
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/operations/SharedLibEntryCreationOperation.java Tue Sep 12 12:56:43 2006
@@ -161,9 +161,10 @@
 					path = resolved.getPath().makeAbsolute().toOSString();
 				}
 				
-				Trace.trace(Trace.INFO, "Adding " + path);
-				if (!entries.contains(path))
+				if (!entries.contains(path)) {
+					Trace.trace(Trace.INFO, "Adding " + path);
 					entries.add(path);
+				}
 			}
 		}
 	}