]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Declare cached MonitorTextGridResult as a transient field
authorJussi Koskela <jussi.koskela@semantum.fi>
Wed, 24 Oct 2018 12:11:43 +0000 (15:11 +0300)
committerAntti Villberg <antti.villberg@semantum.fi>
Tue, 13 Nov 2018 04:53:12 +0000 (06:53 +0200)
We don't want to serialize this field.

Change-Id: I5f9e1094dec20bb29dabbb9a3fd3dc77d1639e7e

bundles/org.simantics.diagram/src/org/simantics/diagram/elements/TextGridNode.java

index 9f25778843a51b2d569b1e9804597e466de25510..be0f23a590f62bb2a5009641a77d30b2847cd6ae 100644 (file)
@@ -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;