Organized imports
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / core / CompilationUnitProblemFinder.java
index 24255af..9e1482f 100644 (file)
@@ -40,7 +40,6 @@ import net.sourceforge.phpdt.internal.compiler.problem.DefaultProblemFactory;
 import net.sourceforge.phpdt.internal.core.util.Util;
 import net.sourceforge.phpeclipse.internal.compiler.ast.CompilationUnitDeclaration;
 
-import org.eclipse.core.resources.IResource;
 import org.eclipse.core.runtime.IProgressMonitor;
 
 /**
@@ -132,7 +131,7 @@ public class CompilationUnitProblemFinder extends Compiler {
                throws JavaModelException {
                return (SearchableEnvironment) ((JavaProject) sourceUnit.getJavaProject())
                        .getSearchableNameEnvironment();
-       }
+       } 
 
        /*
         * Answer the component to which will be handed back compilation results from the compiler
@@ -316,6 +315,7 @@ public class CompilationUnitProblemFinder extends Compiler {
                                System.out.println("PROBLEM FOUND while reconciling : "+problems[i].getMessage());//$NON-NLS-1$
                        }
                        if (monitor != null && monitor.isCanceled()) break;
+                       
                        problemRequestor.acceptProblem(problems[i]);                            
                }
        }