From: David G. <mu...@us...> - 2005-11-02 16:29:47
|
Update of /cvsroot/jfreechart/jcommon/source/org/jfree/io In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10135/source/org/jfree/io Modified Files: SerialUtilities.java Log Message: Fixed some Checkstyle warnings. Index: SerialUtilities.java =================================================================== RCS file: /cvsroot/jfreechart/jcommon/source/org/jfree/io/SerialUtilities.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** SerialUtilities.java 18 Oct 2005 13:16:02 -0000 1.11 --- SerialUtilities.java 2 Nov 2005 16:29:35 -0000 1.12 *************** *** 322,334 **** while (!hasNext) { final int type = stream.readInt(); ! for(int i=0; i<6; i++) { args[i] = stream.readFloat(); } switch (type) { case PathIterator.SEG_MOVETO : ! gp.moveTo(args[0],args[1]); break; case PathIterator.SEG_LINETO : ! gp.lineTo(args[0],args[1]); break; case PathIterator.SEG_CUBICTO : --- 322,334 ---- while (!hasNext) { final int type = stream.readInt(); ! for(int i = 0; i < 6; i++) { args[i] = stream.readFloat(); } switch (type) { case PathIterator.SEG_MOVETO : ! gp.moveTo(args[0], args[1]); break; case PathIterator.SEG_LINETO : ! gp.lineTo(args[0], args[1]); break; case PathIterator.SEG_CUBICTO : *************** *** 419,423 **** final float[] args = new float[6]; stream.writeBoolean(pi.isDone()); ! while(!pi.isDone()) { final int type = pi.currentSegment(args); stream.writeInt(type); --- 419,423 ---- final float[] args = new float[6]; stream.writeBoolean(pi.isDone()); ! while (!pi.isDone()) { final int type = pi.currentSegment(args); stream.writeInt(type); |