]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/procedures/PropagateNewMarks.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.graph.compiler / src / org / simantics / graph / compiler / internal / procedures / PropagateNewMarks.java
index 3fc6fe1c0d8a06390cf302423ef36de1269fcff1..58eae257f3dfc094fe41dd27b291d0589177890f 100644 (file)
@@ -1,24 +1,24 @@
-package org.simantics.graph.compiler.internal.procedures;\r
-\r
-import org.simantics.graph.store.GraphStore;\r
-import org.simantics.graph.store.IdentityStore;\r
-\r
-public class PropagateNewMarks implements Runnable {\r
-       IdentityStore identities;\r
-\r
-       public PropagateNewMarks(GraphStore store) {\r
-               this.identities = store.identities;\r
-       }\r
-\r
-       private void propagateNewMarks(int resource) {\r
-               for(int child : identities.getChildren(resource))\r
-                       if(identities.markNew(child))\r
-                               propagateNewMarks(child);\r
-       }\r
-       \r
-       @Override\r
-       public void run() {\r
-               for(int resource : identities.getNewResources())\r
-                       propagateNewMarks(resource);    \r
-       }\r
-}\r
+package org.simantics.graph.compiler.internal.procedures;
+
+import org.simantics.graph.store.GraphStore;
+import org.simantics.graph.store.IdentityStore;
+
+public class PropagateNewMarks implements Runnable {
+       IdentityStore identities;
+
+       public PropagateNewMarks(GraphStore store) {
+               this.identities = store.identities;
+       }
+
+       private void propagateNewMarks(int resource) {
+               for(int child : identities.getChildren(resource))
+                       if(identities.markNew(child))
+                               propagateNewMarks(child);
+       }
+       
+       @Override
+       public void run() {
+               for(int resource : identities.getNewResources())
+                       propagateNewMarks(resource);    
+       }
+}