geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r416720 - /geronimo/devtools/eclipse-plugin/trunk/plugins/org.apache.geronimo.st.ui/src/org/apache/geronimo/st/ui/editors/SharedDeploymentPlanEditor.java
Date Fri, 23 Jun 2006 13:44:00 GMT
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) {



Mime
View raw message