]> gerrit.simantics Code Review - simantics/district.git/commitdiff
Merge remote-tracking branch 'origin/master' into release/1.35.1 95/2695/3
authorReino Ruusu <reino.ruusu@semantum.fi>
Mon, 4 Mar 2019 12:51:38 +0000 (14:51 +0200)
committerReino Ruusu <reino.ruusu@semantum.fi>
Mon, 4 Mar 2019 12:52:08 +0000 (14:52 +0200)
Change-Id: I0b959bf912db2802ecfb35e0caa4ec6b2234829c

org.simantics.district.network/src/org/simantics/district/network/profile/DistrictNodeGroup.java
pom.xml

index 8d229b78c325ea49fb0d0f8500c25726b1c8cf81..fff235ac638133c53a43c072fc285a77b048d0f7 100644 (file)
@@ -67,12 +67,12 @@ public class DistrictNodeGroup implements Group {
     }
 
     @Override
-    public void trackItems(RequestProcessor processor, final Resource runtimeDiagram, final SetListener<Resource> listener) throws DatabaseException {
+    public void trackItems(RequestProcessor processor, final Resource runtimeDiagram, final SetListener<Resource> listener) {
         if (types.isEmpty()) {
             System.out.println("DistrictNodeGroup has no types!");
             return;
         }
-        processor.syncRequest(new TernaryRead<Resource, Collection<Resource>, Set<String>, Collection<Resource>>(runtimeDiagram, types, mappedComponentTypeNames) {
+        processor.asyncRequest(new TernaryRead<Resource, Collection<Resource>, Set<String>, Collection<Resource>>(runtimeDiagram, types, mappedComponentTypeNames) {
             @Override
             public Collection<Resource> perform(ReadGraph graph) throws DatabaseException {
                 return graph.syncRequest(new ElementsMappedToComponentTypes(parameter, parameter2, parameter3));
diff --git a/pom.xml b/pom.xml
index ac49440b0c09b244b53c186142862f1ac910b4c0..f36b9763c05f7bb8e0a3e25d42dd74ce768243c6 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -8,7 +8,7 @@
 
        <!-- common settings for all modules -->
        <properties>
-               <branch-spec>master</branch-spec>
+               <branch-spec>release/1.35.1</branch-spec>
                <simantics-download-site>http://www.simantics.org/download</simantics-download-site>
                <tycho-version>1.0.0</tycho-version>
        </properties>