Bug 490714 - Make ReconcileWorkingCopyOperation to use new parser

As far as I can tell, no further changes need to be made.
The rest of the functionality of ReconcileWorkingCopyOperation
comes from other classes that are independent of ASTParser.

Change-Id: I2c9bf4c36650ee43c71a0949a2ac9f4362aefc10
Signed-off-by: Angel Misevski <amisevsk@redhat.com>
diff --git a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ReconcileWorkingCopyOperation.java b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ReconcileWorkingCopyOperation.java
index 6fd1294..0a13019 100644
--- a/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ReconcileWorkingCopyOperation.java
+++ b/bundles/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/core/ReconcileWorkingCopyOperation.java
@@ -209,21 +209,11 @@
 
 			// create AST if needed
 			if (this.astLevel != IJavaScriptUnit.NO_AST){
-//					&& unit !=null/*unit is null if working copy is consistent && (problem detection not forced || non-Java project) -> don't create AST as per API*/) {
 				Map options = workingCopy.getJavaScriptProject().getOptions(true);
 				// convert AST
 				ASTParser parser = ASTParser.newParser(AST.JLS3);
 				parser.setSource(workingCopy);
 				this.ast = (JavaScriptUnit) parser.createAST(this.progressMonitor);
-//					AST.convertCompilationUnit(
-//						this.astLevel,
-//						unit,
-//						contents,
-//						options,
-//						this.resolveBindings,
-//						workingCopy,
-//						reconcileFlags,
-//						this.progressMonitor);
 				if (this.ast != null) {
 					this.deltaBuilder.delta = new JavaElementDelta(workingCopy);
 					this.deltaBuilder.delta.changedAST(this.ast);