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%2Frepresentation%2FPrettyPrintTG.java;h=0640f42f495ccc646f4770435ccf300bb834afef;hp=bb776d5df649eaa08ac455942e453718c9d2a721;hb=cd109cfc863adf6e9207cb77396b52f10d26a849;hpb=ec2bfe436698e74bdcb0b7708b246fe1971d557b diff --git a/bundles/org.simantics.graph/src/org/simantics/graph/representation/PrettyPrintTG.java b/bundles/org.simantics.graph/src/org/simantics/graph/representation/PrettyPrintTG.java index bb776d5df..0640f42f4 100644 --- a/bundles/org.simantics.graph/src/org/simantics/graph/representation/PrettyPrintTG.java +++ b/bundles/org.simantics.graph/src/org/simantics/graph/representation/PrettyPrintTG.java @@ -43,6 +43,8 @@ public class PrettyPrintTG { private static final Logger LOGGER = LoggerFactory.getLogger(PrettyPrintTG.class); + private static final boolean DEBUG = false; + int blankCounter = 0; MessageDigest m; @@ -137,8 +139,7 @@ public class PrettyPrintTG { } void discoverOwners(TransferableGraph1 graph, ResourceInfo info) { - if (LOGGER.isDebugEnabled()) - LOGGER.debug("Discovering owners for " + info); + log("Discovering owners for " + info); int resource = info.resource; TIntArrayList statements = TransferableGraphUtils.getStatements(graph, resource); for(int i=0;i