Author: dgolovin
Date: 2009-06-11 19:38:01 -0400 (Thu, 11 Jun 2009)
New Revision: 15916
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java
Log:
References to Util classes from internal packages were replaced for public ones to remove
warnings
Modified:
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java
===================================================================
---
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java 2009-06-11
23:36:22 UTC (rev 15915)
+++
trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/core/SeamUtil.java 2009-06-11
23:38:01 UTC (rev 15916)
@@ -18,6 +18,9 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.jst.j2ee.internal.project.J2EEProjectUtilities;
+import org.eclipse.jst.j2ee.project.EarUtilities;
+import org.eclipse.jst.j2ee.project.JavaEEProjectUtilities;
+import org.eclipse.jst.j2ee.project.WebUtilities;
import org.eclipse.wst.common.componentcore.ComponentCore;
import org.eclipse.wst.common.componentcore.resources.IVirtualComponent;
import org.eclipse.wst.common.componentcore.resources.IVirtualReference;
@@ -205,7 +208,7 @@
}
}
if(searchInEARs) {
- referencing = J2EEProjectUtilities.getReferencingEARProjects(project);
+ referencing = EarUtilities.getReferencingEARProjects(project);
for (int i = 0; i < referencing.length; i++) {
ISeamProject seamProject = findReferencingSeamWarProjectForProject(referencing[i],
false);
if(seamProject!=null) {
@@ -218,7 +221,7 @@
refComponents = comp.getReferences();
for (IVirtualReference virtualReference : refComponents) {
IVirtualComponent component = virtualReference.getReferencedComponent();
- if(component!=null && !component.isBinary() &&
J2EEProjectUtilities.isDynamicWebComponent(component)) {
+ if(component!=null && !component.isBinary() &&
WebUtilities.isDynamicWebComponent(component)) {
ISeamProject seamProject = SeamCorePlugin.getSeamProject(component.getProject(),
false);
if(seamProject!=null) {
return seamProject;
Show replies by date