X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.graph%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fstore%2FIStore.java;h=5785794d8eca474f0fe3e8a42b8e13244c1135f1;hp=6b157679d0138643d8f5f4c47a47e5545c61a31d;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/bundles/org.simantics.graph/src/org/simantics/graph/store/IStore.java b/bundles/org.simantics.graph/src/org/simantics/graph/store/IStore.java index 6b157679d..5785794d8 100644 --- a/bundles/org.simantics.graph/src/org/simantics/graph/store/IStore.java +++ b/bundles/org.simantics.graph/src/org/simantics/graph/store/IStore.java @@ -1,25 +1,25 @@ -package org.simantics.graph.store; - -import gnu.trove.map.hash.TIntIntHashMap; - -import java.util.concurrent.Callable; - -public interface IStore { - void map(TIntIntHashMap map); - - static class MapTask implements Callable { - IStore store; - TIntIntHashMap map; - - public MapTask(IStore store, TIntIntHashMap map) { - this.store = store; - this.map = map; - } - - @Override - public Object call() throws Exception { - store.map(map); - return null; - } - } -} +package org.simantics.graph.store; + +import gnu.trove.map.hash.TIntIntHashMap; + +import java.util.concurrent.Callable; + +public interface IStore { + void map(TIntIntHashMap map); + + static class MapTask implements Callable { + IStore store; + TIntIntHashMap map; + + public MapTask(IStore store, TIntIntHashMap map) { + this.store = store; + this.map = map; + } + + @Override + public Object call() throws Exception { + store.map(map); + return null; + } + } +}