geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tki...@apache.org
Subject svn commit: r697174 - /geronimo/devtools/eclipse-plugin/branches/2.0.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerDelegate.java
Date Fri, 19 Sep 2008 18:24:05 GMT
Author: tkirby
Date: Fri Sep 19 11:24:04 2008
New Revision: 697174

URL: http://svn.apache.org/viewvc?rev=697174&view=rev
Log:
GERONIMODEVTOOLS-517 Can't delete project from defined geronimo server
format this code which I am about to change

Modified:
    geronimo/devtools/eclipse-plugin/branches/2.0.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerDelegate.java

Modified: geronimo/devtools/eclipse-plugin/branches/2.0.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerDelegate.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/2.0.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerDelegate.java?rev=697174&r1=697173&r2=697174&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/2.0.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerDelegate.java
(original)
+++ geronimo/devtools/eclipse-plugin/branches/2.0.1/plugins/org.apache.geronimo.st.core/src/org/apache/geronimo/st/core/GeronimoServerDelegate.java
Fri Sep 19 11:24:04 2008
@@ -86,16 +86,17 @@
 	 *      org.eclipse.wst.server.core.IModule[])
 	 */
 	public IStatus canModifyModules(IModule[] add, IModule[] remove) {
-		for (int i = 0; i < add.length; i++) {
-			IModule module = add[i];
-			if (module.getProject() != null) {
-				IStatus status = FacetUtil.verifyFacets(module.getProject(), getServer());
-				if (status != null && !status.isOK())
-					return status;
-			}
-		}
-		return Status.OK_STATUS;
-	}
+        for (int i = 0; i < add.length; i++) {
+            IModule module = add[i];
+            if (module.getProject() != null) {
+                IStatus status = FacetUtil.verifyFacets(module.getProject(),
+                        getServer());
+                if (status != null && !status.isOK())
+                    return status;
+            }
+        }
+        return Status.OK_STATUS;
+    }
 
 	/*
 	 * (non-Javadoc)



Mime
View raw message