added manual error check function to ECS

This commit is contained in:
Manindra Moharana
2013-06-30 00:16:21 +05:30
parent 73258d3cad
commit 6edd537c41
3 changed files with 31 additions and 16 deletions

View File

@@ -260,7 +260,15 @@ public class ErrorCheckerService implements Runnable{
}
protected ASTGenerator astGenerator;
AtomicInteger textModified = new AtomicInteger();
private AtomicInteger textModified = new AtomicInteger();
/**
* Triggers error check
*/
public void runManualErrorCheck() {
textModified.incrementAndGet();
}
private boolean checkCode() {
System.out.println("checkCode() " + textModified.get() );
lastTimeStamp = System.currentTimeMillis();