From: Hannu Niemistö Date: Wed, 21 Jun 2017 12:19:19 +0000 (+0300) Subject: (refs #7325) Fixed incorrect call of write in FilterCRWriter X-Git-Tag: v1.31.0~300 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=1d38677a1e1a3df3712113473e8d96f1073b3bb6;p=simantics%2Fplatform.git (refs #7325) Fixed incorrect call of write in FilterCRWriter Change-Id: Ifecf88cd5239301b25a19846fec8fa39f6821857 --- diff --git a/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/resourceFiles/FilterCRWriter.java b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/resourceFiles/FilterCRWriter.java index 2e966754d..2d533f163 100644 --- a/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/resourceFiles/FilterCRWriter.java +++ b/bundles/org.simantics.graph.compiler/src/org/simantics/graph/compiler/internal/resourceFiles/FilterCRWriter.java @@ -22,12 +22,12 @@ public class FilterCRWriter extends FilterWriter { for(int i=0;i begin) - write(cbuf, off+begin, i-begin); + out.write(cbuf, off+begin, i-begin); begin = i+1; } } if(len > begin) - write(cbuf, off+begin, len-begin); + out.write(cbuf, off+begin, len-begin); } @Override @@ -36,12 +36,12 @@ public class FilterCRWriter extends FilterWriter { for(int i=0;i begin) - write(str, off+begin, i-begin); + out.write(str, off+begin, i-begin); begin = i+1; } } if(len > begin) - write(str, off+begin, len-begin); + out.write(str, off+begin, len-begin); } }