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/06/23 15:44:00 UTC

svn commit: r416720 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/editors/SharedDeploymentPlanEditor.java

Author: sppatel
Date: Fri Jun 23 06:44:00 2006
New Revision: 416720

URL: http://svn.apache.org/viewvc?rev=416720&view=rev
Log:
rid of deprecation error

Modified:
    geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/editors/SharedDeploymentPlanEditor.java

Modified: geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/editors/SharedDeploymentPlanEditor.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/editors/SharedDeploymentPlanEditor.java?rev=416720&r1=416719&r2=416720&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/editors/SharedDeploymentPlanEditor.java (original)
+++ geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/editors/SharedDeploymentPlanEditor.java Fri Jun 23 06:44:00 2006
@@ -90,7 +90,7 @@
 				IProject project = ((IFileEditorInput) input).getFile().getProject();
 				try {
 					IFacetedProject fp = ProjectFacetsManager.create(project);
-					IRuntime runtime = FacetUtil.getRuntime(fp.getRuntime());
+					IRuntime runtime = FacetUtil.getRuntime(fp.getPrimaryRuntime());
 					String version = runtime.getRuntimeType().getVersion();
 					currentLoader = (IGeronimoFormContentLoader) loaders.get(version);
 				} catch (CoreException e) {