X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.graph%2Fsrc%2Forg%2Fsimantics%2Fgraph%2Fquery%2FGraphs.java;h=852d742399425e8bf04b7bc18fd87864a225a42a;hb=cdfd997cc5118a9fb08a73f35c6f7306308abd86;hp=6d8c2629345309ca811913189d2662d30f8b8d97;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.graph/src/org/simantics/graph/query/Graphs.java b/bundles/org.simantics.graph/src/org/simantics/graph/query/Graphs.java index 6d8c26293..852d74239 100644 --- a/bundles/org.simantics.graph/src/org/simantics/graph/query/Graphs.java +++ b/bundles/org.simantics.graph/src/org/simantics/graph/query/Graphs.java @@ -1,18 +1,18 @@ -package org.simantics.graph.query; - -import java.util.Arrays; -import java.util.Collection; - -import org.simantics.graph.representation.TransferableGraph1; - -public class Graphs { - - public static IGraph createGraph(Paths paths, Collection tgs) { - return TransferableGraphConversion.convert(paths, tgs); - } - - public static IGraph createGraph(Paths paths, TransferableGraph1 ... tgs) { - return createGraph(paths, Arrays.asList(tgs)); - } - -} +package org.simantics.graph.query; + +import java.util.Arrays; +import java.util.Collection; + +import org.simantics.graph.representation.TransferableGraph1; + +public class Graphs { + + public static IGraph createGraph(Paths paths, Collection tgs) { + return TransferableGraphConversion.convert(paths, tgs); + } + + public static IGraph createGraph(Paths paths, TransferableGraph1 ... tgs) { + return createGraph(paths, Arrays.asList(tgs)); + } + +}