geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r491865 - /geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
Date Tue, 02 Jan 2007 17:36:35 GMT
Author: sppatel
Date: Tue Jan  2 09:36:35 2007
New Revision: 491865

URL: http://svn.apache.org/viewvc?view=rev&rev=491865
Log:
fix compilation errors

Modified:
    geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java

Modified: geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java?view=diff&rev=491865&r1=491864&r2=491865
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
(original)
+++ geronimo/devtools/eclipse-plugin/branches/1.2.1/plugins/org.apache.geronimo.st.v11.core/src/org/apache/geronimo/st/v11/core/GeronimoRuntime.java
Tue Jan  2 09:36:35 2007
@@ -62,13 +62,13 @@
 	 */
 	public XmlObject fixGeronimoEarSchema(IFile plan) throws XmlException {
             XmlObject xmlplan = getXmlObject(plan);
-            XmlObject xmlplan = getXmlObject(plan);
             if (plan != null) {
                 SchemaConversionUtils.fixGeronimoSchema(xmlplan, GerApplicationDocument.type.getDocumentElementName(),
                     GerApplicationType.type);
                 save(xmlplan, plan);
             }
             return xmlplan;
+    }
 
 	/*
 	 * (non-Javadoc)
@@ -116,13 +116,13 @@
 	}
 
  	private void save(XmlObject object, IFile file) {
-            try {
+        try {
  	        object.save(file.getLocation().toFile());
- 		file.refreshLocal(IFile.DEPTH_ONE, null);
+ 	        file.refreshLocal(IFile.DEPTH_ONE, null);
  	    } catch (IOException e) {
- 	        e.printStackTrace();
+ 	          e.printStackTrace();
  	    } catch (CoreException e) {
- 		e.printStackTrace();
+ 		     e.printStackTrace();
  	    }
  	}
 }



Mime
View raw message