From: Jussi Koskela Date: Wed, 24 Oct 2018 12:11:43 +0000 (+0300) Subject: Declare cached MonitorTextGridResult as a transient field X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F2399%2F1;p=simantics%2Fplatform.git Declare cached MonitorTextGridResult as a transient field We don't want to serialize this field. Change-Id: I5f9e1094dec20bb29dabbb9a3fd3dc77d1639e7e --- diff --git a/bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextGridNode.java b/bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextGridNode.java index 1d18aa43e..06bcf577d 100644 --- a/bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextGridNode.java +++ b/bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextGridNode.java @@ -50,7 +50,7 @@ public class TextGridNode extends G2DParentNode implements Decoration { public static class A extends TextNode { - MonitorTextGridResult cache = null; + transient MonitorTextGridResult cache = null; private static final long serialVersionUID = -4519849713591842241L;