]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Declare cached MonitorTextGridResult as a transient field 51/2351/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Wed, 24 Oct 2018 12:11:43 +0000 (15:11 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Wed, 24 Oct 2018 12:11:43 +0000 (15:11 +0300)
We don't want to serialize this field.

Change-Id: I5f9e1094dec20bb29dabbb9a3fd3dc77d1639e7e

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

index 1d18aa43eec273af2d7019d741a2940316693db2..06bcf577d7bf784626cf6bd9a102fad7c8bee779 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;