private static final Logger LOGGER = LoggerFactory.getLogger(PrettyPrintTG.class);
+ private static final boolean DEBUG = false;
+
int blankCounter = 0;
MessageDigest m;
}
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<statements.size();i+=2) {
}
}
+ private static void log(String string) {
+ if (LOGGER.isDebugEnabled() && DEBUG)
+ LOGGER.debug(string);
+ }
+
}