From e785ea2594a871612806780acd918e35ef1751ed Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Wed, 24 Oct 2018 15:11:43 +0300 Subject: [PATCH] Declare cached MonitorTextGridResult as a transient field We don't want to serialize this field. Change-Id: I5f9e1094dec20bb29dabbb9a3fd3dc77d1639e7e (cherry picked from commit afee96f637a9563364343ec9688b1d4b3aa98a10) --- .../src/org/simantics/diagram/elements/TextGridNode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.1