A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / PackageFragmentInfo.java
index 01a8258..835ce31 100644 (file)
@@ -15,7 +15,6 @@ import net.sourceforge.phpdt.core.JavaModelException;
 import org.eclipse.core.resources.IContainer;
 import org.eclipse.core.resources.IResource;
 
-
 /**
  * Element info for PackageFragments.
  */
@@ -26,39 +25,43 @@ class PackageFragmentInfo extends OpenableElementInfo {
         */
        protected Object[] fNonJavaResources;
 
-/**
- * Create and initialize a new instance of the receiver
- */
-public PackageFragmentInfo() {
-       fNonJavaResources = null;
-}
-/**
- */
-boolean containsJavaResources() {
-       return fChildren.length != 0;
-}
-/**
- * Returns an array of non-java resources contained in the receiver.
- */
-Object[] getNonJavaResources(IResource underlyingResource, PackageFragmentRoot rootHandle) {
-       Object[] nonJavaResources = fNonJavaResources;
-       if (nonJavaResources == null) {
-               try {
-                       nonJavaResources = 
-                               PackageFragmentRootInfo.computeFolderNonJavaResources(
-                                       (JavaProject)rootHandle.getJavaProject(), 
-                                       (IContainer)underlyingResource, 
-                                       rootHandle.fullExclusionPatternChars());
-               } catch (JavaModelException e) {
+       /**
+        * Create and initialize a new instance of the receiver
+        */
+       public PackageFragmentInfo() {
+               fNonJavaResources = null;
+       }
+
+       /**
+        */
+       boolean containsJavaResources() {
+               return fChildren.length != 0;
+       }
+
+       /**
+        * Returns an array of non-java resources contained in the receiver.
+        */
+       Object[] getNonJavaResources(IResource underlyingResource,
+                       PackageFragmentRoot rootHandle) {
+               Object[] nonJavaResources = fNonJavaResources;
+               if (nonJavaResources == null) {
+                       try {
+                               nonJavaResources = PackageFragmentRootInfo
+                                               .computeFolderNonJavaResources((JavaProject) rootHandle
+                                                               .getJavaProject(),
+                                                               (IContainer) underlyingResource, rootHandle
+                                                                               .fullExclusionPatternChars());
+                       } catch (JavaModelException e) {
+                       }
+                       fNonJavaResources = nonJavaResources;
                }
-               fNonJavaResources = nonJavaResources;
+               return nonJavaResources;
+       }
+
+       /**
+        * Set the fNonJavaResources to res value
+        */
+       synchronized void setNonJavaResources(Object[] resources) {
+               fNonJavaResources = resources;
        }
-       return nonJavaResources;
-}
-/**
- * Set the fNonJavaResources to res value
- */
-synchronized void setNonJavaResources(Object[] resources) {
-       fNonJavaResources = resources;
-}
 }