commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r1213158 - /commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/util/UnicodeUtils.java
Date Mon, 12 Dec 2011 07:19:24 GMT
Author: damjan
Date: Mon Dec 12 07:19:23 2011
New Revision: 1213158

URL: http://svn.apache.org/viewvc?rev=1213158&view=rev
Log:
Don't redefine BYTE_ORDER_BIG_ENDIAN and BYTE_ORDER_LITTLE_ENDIAN in UnicodeMetricsUTF16,
they're already defined in BinaryConstants.

Jira issue key: SANSELAN-59


Modified:
    commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/util/UnicodeUtils.java

Modified: commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/util/UnicodeUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/util/UnicodeUtils.java?rev=1213158&r1=1213157&r2=1213158&view=diff
==============================================================================
--- commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/util/UnicodeUtils.java
(original)
+++ commons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/util/UnicodeUtils.java
Mon Dec 12 07:19:23 2011
@@ -319,8 +319,6 @@ public abstract class UnicodeUtils imple
 
     private abstract static class UnicodeMetricsUTF16 extends UnicodeUtils
     {
-        protected static final int BYTE_ORDER_BIG_ENDIAN = 0;
-        protected static final int BYTE_ORDER_LITTLE_ENDIAN = 1;
         protected int byteOrder = BYTE_ORDER_BIG_ENDIAN;
 
         public UnicodeMetricsUTF16(int byteOrder)



Mime
View raw message