You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ma...@apache.org on 2015/11/05 11:50:15 UTC

svn commit: r1712739 - /xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/ImageEncodingHelper.java

Author: matthias
Date: Thu Nov  5 10:50:15 2015
New Revision: 1712739

URL: http://svn.apache.org/viewvc?rev=1712739&view=rev
Log:
XGC-93: fix checkstyle issue

Modified:
    xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/ImageEncodingHelper.java

Modified: xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/ImageEncodingHelper.java
URL: http://svn.apache.org/viewvc/xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/ImageEncodingHelper.java?rev=1712739&r1=1712738&r2=1712739&view=diff
==============================================================================
--- xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/ImageEncodingHelper.java (original)
+++ xmlgraphics/commons/trunk/src/java/org/apache/xmlgraphics/ps/ImageEncodingHelper.java Thu Nov  5 10:50:15 2015
@@ -325,9 +325,9 @@ public class ImageEncodingHelper {
                 if (isBGR) {
                     byte[] bytesPermutated = new byte[bytes.length];
                     for (int i = 0; i < bytes.length; i += 3) {
-                        bytesPermutated[i] = bytes[i+2];
-                        bytesPermutated[i+1] = bytes[i+1];
-                        bytesPermutated[i+2] = bytes[i];
+                        bytesPermutated[i] = bytes[i + 2];
+                        bytesPermutated[i + 1] = bytes[i + 1];
+                        bytesPermutated[i + 2] = bytes[i];
                     }
                     out.write(bytesPermutated);
                 } else {



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org