]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/GraphCompiler.java
Removed org.simantics.ltk[.antlr] bundles, exact import for antlr
[simantics/platform.git] / bundles / org.simantics.graph.compiler / src / org / simantics / graph / compiler / GraphCompiler.java
index 53060b767d072409834403e10bb810c870203e51..ed5578992b69123ace2106ec0e52a66ce7df1c22 100644 (file)
@@ -21,6 +21,10 @@ import org.simantics.databoard.binding.error.BindingException;
 import org.simantics.databoard.binding.mutable.Variant;
 import org.simantics.databoard.container.DataContainer;
 import org.simantics.databoard.container.DataContainers;
+import org.simantics.graph.compiler.internal.ltk.FileSource;
+import org.simantics.graph.compiler.internal.ltk.ISource;
+import org.simantics.graph.compiler.internal.ltk.Location;
+import org.simantics.graph.compiler.internal.ltk.Problem;
 import org.simantics.graph.compiler.internal.parsing.Parsing;
 import org.simantics.graph.compiler.internal.procedures.AddConsistsOf;
 import org.simantics.graph.compiler.internal.procedures.ApplyTemplates;
@@ -42,10 +46,6 @@ import org.simantics.graph.query.TransferableGraphConversion;
 import org.simantics.graph.representation.Extensions;
 import org.simantics.graph.representation.TransferableGraph1;
 import org.simantics.graph.store.GraphStore;
-import org.simantics.ltk.FileSource;
-import org.simantics.ltk.ISource;
-import org.simantics.ltk.Location;
-import org.simantics.ltk.Problem;
 
 public class GraphCompiler {
        
@@ -88,7 +88,7 @@ public class GraphCompiler {
                        Collection<TransferableGraph1> dependencies,
                        ExternalFileLoader fileLoader,
                        GraphCompilerPreferences preferences) {
-           out.println(preferences);
+           //out.println(preferences);
            
                Collection<Problem> errors = new ArrayList<Problem>();
                GraphStore store = new GraphStore();            
@@ -205,11 +205,11 @@ public class GraphCompiler {
        }
        
        private static void run(Runnable runnable) {
-               long beginTime = System.nanoTime();
+               //long beginTime = System.nanoTime();
                runnable.run();
-               long endTime = System.nanoTime();
+               //long endTime = System.nanoTime();
                
-               reportTime(runnable.getClass().getSimpleName(), beginTime, endTime);
+               //reportTime(runnable.getClass().getSimpleName(), beginTime, endTime);
        }
        
        public static void reportTime(String taskName, long beginTime, long endTime) {