From: Jussi Koskela Date: Wed, 24 Oct 2018 12:11:43 +0000 (+0300) Subject: Declare cached MonitorTextGridResult as a transient field X-Git-Tag: v1.43.0~136^2~270 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=e785ea2594a871612806780acd918e35ef1751ed;p=simantics%2Fplatform.git Declare cached MonitorTextGridResult as a transient field We don't want to serialize this field. Change-Id: I5f9e1094dec20bb29dabbb9a3fd3dc77d1639e7e (cherry picked from commit afee96f637a9563364343ec9688b1d4b3aa98a10) --- 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 f482890e9..227dea5b1 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;