From: jsimomaa Date: Wed, 11 Jul 2018 05:20:26 +0000 (+0300) Subject: Adding Logger to DiagramContentRequest X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=a986883fb5aad9fb65e186d1d858031b2b1c7aa9;p=simantics%2Fplatform.git Adding Logger to DiagramContentRequest Change-Id: I904c7ed209198d897370003b0676df6831892927 --- diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/DiagramContentRequest.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/DiagramContentRequest.java index 845adb4cc..36e405157 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/DiagramContentRequest.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/adapter/DiagramContentRequest.java @@ -31,6 +31,8 @@ import org.simantics.diagram.content.RouteGraphConnectionPartRequest; import org.simantics.diagram.stubs.DiagramResource; import org.simantics.diagram.synchronization.ErrorHandler; import org.simantics.g2d.canvas.ICanvasContext; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import gnu.trove.list.array.TIntArrayList; import gnu.trove.map.hash.THashMap; @@ -42,6 +44,8 @@ import gnu.trove.set.hash.THashSet; */ public class DiagramContentRequest extends BaseRequest { + private static final Logger LOGGER = LoggerFactory.getLogger(DiagramContentRequest.class); + int previousElementCount = 32; ErrorHandler errorHandler; @@ -158,13 +162,13 @@ public class DiagramContentRequest extends BaseRequest