- for(int i=0;i<3;i++) {\r
- Simantics.getSession().syncRequest(new WriteRequest() {\r
- @Override\r
- public void perform(WriteGraph graph) throws DatabaseException {\r
- }\r
-\r
- @Override\r
- public String toString() {\r
- return "Utils sync";\r
- }\r
- });\r
-\r
- // And then wait still some more\r
- Simantics.getSession().syncRequest(new ReadRequest() {\r
- @Override\r
- public void run(ReadGraph graph) throws DatabaseException {\r
- }\r
- });\r
- }\r
+// for(int i=0;i<3;i++) {\r
+ Simantics.getSession().syncRequest(new WriteRequest() {\r
+ @Override\r
+ public void perform(WriteGraph graph) throws DatabaseException {\r
+ }\r
+\r
+ @Override\r
+ public String toString() {\r
+ return "Utils sync";\r
+ }\r
+ });\r
+//\r
+// // And then wait still some more\r
+// Simantics.getSession().syncRequest(new ReadRequest() {\r
+// @Override\r
+// public void run(ReadGraph graph) throws DatabaseException {\r
+// }\r
+// });\r
+// }\r