harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sjanu...@apache.org
Subject svn commit: r785991 - in /harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony: pack200/ unpack200/
Date Thu, 18 Jun 2009 09:55:27 GMT
Author: sjanuary
Date: Thu Jun 18 09:55:24 2009
New Revision: 785991

URL: http://svn.apache.org/viewvc?rev=785991&view=rev
Log:
Reverting r785966 as pack200 should compile against Java 1.4

Modified:
    harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BHSDCodec.java
    harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/CpBands.java
    harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/NewAttributeBands.java
    harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/CpBands.java
    harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/IcTuple.java
    harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/NewAttributeBands.java

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BHSDCodec.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BHSDCodec.java?rev=785991&r1=785990&r2=785991&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BHSDCodec.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/BHSDCodec.java
Thu Jun 18 09:55:24 2009
@@ -447,7 +447,7 @@
      * zero fields are not shown.
      */
     public String toString() {
-        StringBuilder buffer = new StringBuilder(11);
+        StringBuffer buffer = new StringBuffer(11);
         buffer.append('(');
         buffer.append(b);
         buffer.append(',');

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/CpBands.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/CpBands.java?rev=785991&r1=785990&r2=785991&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/CpBands.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/CpBands.java
Thu Jun 18 09:55:24 2009
@@ -434,11 +434,11 @@
             if (signature.length() > 1 && signature.indexOf('L') != -1) {
                 List classes = new ArrayList();
                 char[] chars = signature.toCharArray();
-                StringBuilder signatureString = new StringBuilder();
+                StringBuffer signatureString = new StringBuffer();
                 for (int i = 0; i < chars.length; i++) {
                     signatureString.append(chars[i]);
                     if (chars[i] == 'L') {
-                        StringBuilder className = new StringBuilder();
+                        StringBuffer className = new StringBuffer();
                         for (int j = i + 1; j < chars.length; j++) {
                             char c = chars[j];
                             if (Character.isLetter(c) || Character.isDigit(c)

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/NewAttributeBands.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/NewAttributeBands.java?rev=785991&r1=785990&r2=785991&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/NewAttributeBands.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/pack200/NewAttributeBands.java
Thu Jun 18 09:55:24 2009
@@ -814,7 +814,7 @@
      */
     private StringReader getStreamUpToMatchingBracket(StringReader stream)
             throws IOException {
-        StringBuilder sb = new StringBuilder();
+        StringBuffer sb = new StringBuffer();
         int foundBracket = -1;
         while (foundBracket != 0) {
             char c = (char) stream.read();
@@ -877,7 +877,7 @@
      */
     private String readUpToMatchingBracket(StringReader stream)
             throws IOException {
-        StringBuilder sb = new StringBuilder();
+        StringBuffer sb = new StringBuffer();
         int foundBracket = -1;
         while (foundBracket != 0) {
             char c = (char) stream.read();

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/CpBands.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/CpBands.java?rev=785991&r1=785990&r2=785991&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/CpBands.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/CpBands.java
Thu Jun 18 09:55:24 2009
@@ -358,7 +358,7 @@
         for (int i = 0; i < cpSignatureCount; i++) {
             String form = cpSignatureForm[i];
             int len = form.length();
-            StringBuilder signature = new StringBuilder(64);
+            StringBuffer signature = new StringBuffer(64);
             ArrayList list = new ArrayList();
             for (int j = 0; j < len; j++) {
                 char c = form.charAt(j);

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/IcTuple.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/IcTuple.java?rev=785991&r1=785990&r2=785991&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/IcTuple.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/IcTuple.java
Thu Jun 18 09:55:24 2009
@@ -270,7 +270,7 @@
     }
 
     public String toString() {
-        StringBuilder result = new StringBuilder();
+        StringBuffer result = new StringBuffer();
         result.append("IcTuple ");
         result.append('(');
         result.append(simpleClassName());

Modified: harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/NewAttributeBands.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/NewAttributeBands.java?rev=785991&r1=785990&r2=785991&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/NewAttributeBands.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/pack200/src/main/java/org/apache/harmony/unpack200/NewAttributeBands.java
Thu Jun 18 09:55:24 2009
@@ -848,7 +848,7 @@
      */
     private StringReader getStreamUpToMatchingBracket(StringReader stream)
             throws IOException {
-        StringBuilder sb = new StringBuilder();
+        StringBuffer sb = new StringBuffer();
         int foundBracket = -1;
         while (foundBracket != 0) {
             char c = (char) stream.read();
@@ -896,7 +896,7 @@
      */
     private String readUpToMatchingBracket(StringReader stream)
             throws IOException {
-        StringBuilder sb = new StringBuilder();
+        StringBuffer sb = new StringBuffer();
         int foundBracket = -1;
         while (foundBracket != 0) {
             char c = (char) stream.read();



Mime
View raw message