X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.structural2%2Fsrc%2Forg%2Fsimantics%2Fstructural2%2Fvariables%2FStandardProceduralChildVariable.java;h=a5b50f6f36bc5dc7f1368ff0acc80d9ea4a46e23;hp=0db9d7033df415da9800f5924bd2d836f343274c;hb=1dfeb7d5c49b1391cd9d877e1eddab18995cb151;hpb=c13c4179bda758e77fe1f2032d3c4268bb9e3120 diff --git a/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java b/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java index 0db9d7033..a5b50f6f3 100644 --- a/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java +++ b/bundles/org.simantics.structural2/src/org/simantics/structural2/variables/StandardProceduralChildVariable.java @@ -37,9 +37,11 @@ import org.simantics.structural2.procedural.Interface; import org.simantics.structural2.procedural.Property; import org.simantics.structural2.procedural.Terminal; import org.simantics.utils.datastructures.Pair; +import org.slf4j.LoggerFactory; public class StandardProceduralChildVariable extends AbstractChildVariable { + private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(StandardProceduralChildVariable.class); /* * Extension points * @@ -84,7 +86,7 @@ public class StandardProceduralChildVariable extends AbstractChildVariable { result.add(desc.getVariable(graph)); } else - System.err.println("no cp " + cp.first + " for " + component.getURI(graph)); + LOGGER.warn("no cp " + cp.first + " for " + component.getURI(graph)); } return result; @@ -102,7 +104,7 @@ public class StandardProceduralChildVariable extends AbstractChildVariable { result.add(desc.getURI(graph)); } else - System.err.println("no cp " + cp.first + " for " + component.getURI(graph)); + LOGGER.warn("no cp " + cp.first + " for " + component.getURI(graph)); } return result; @@ -118,7 +120,7 @@ public class StandardProceduralChildVariable extends AbstractChildVariable { if(cp2 != null) result.addAll(ConnectionBrowser.flatten(graph, component, cp.second, relationType)); else - System.err.println("no cp " + cp.first + " for " + component.getURI(graph)); + LOGGER.warn("no cp " + cp.first + " for " + component.getURI(graph)); } return result;