reverting changes before branching

This commit is contained in:
Manindra Moharana
2014-06-05 21:38:46 +05:30
parent 3a063efe48
commit f983628f59

View File

@@ -135,7 +135,7 @@ public class ErrorCheckerService implements Runnable{
/**
* Compilation Unit for current sketch
*/
protected CompilationUnit cu, lastCorrectCu;
protected CompilationUnit cu;
/**
* If true, compilation checker will be reloaded with updated classpath
@@ -535,10 +535,10 @@ public class ErrorCheckerService implements Runnable{
if (problems.length == 0) {
syntaxErrors.set(false);
containsErrors.set(false);
lastCorrectCu = cu;
//lastCorrectCu = cu;
} else {
CompilationUnit cuTemp = null;
lastCorrectCu = cuTemp;
//lastCorrectCu = cuTemp;
syntaxErrors.set(true);
containsErrors.set(true);
}
@@ -567,7 +567,7 @@ public class ErrorCheckerService implements Runnable{
cu = (CompilationUnit) parser.createAST(null);
else {
synchronized (cu) {
if (!hasSyntaxErrors())
//if (!hasSyntaxErrors())
cu = (CompilationUnit) parser.createAST(null);
}
}