harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r643552 - /harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java
Date Tue, 01 Apr 2008 20:16:31 GMT
Author: tellison
Date: Tue Apr  1 13:16:29 2008
New Revision: 643552

URL: http://svn.apache.org/viewvc?rev=643552&view=rev
Log:
Avoid direct reference to ICU type in Bidi constructor.

Modified:
    harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java

Modified: harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java?rev=643552&r1=643551&r2=643552&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java (original)
+++ harmony/enhanced/classlib/trunk/modules/text/src/main/java/java/text/Bidi.java Tue Apr
 1 13:16:29 2008
@@ -185,8 +185,8 @@
     }
 
     /* private constructor used by createLineBidi() */
-    private Bidi(com.ibm.icu.text.Bidi bidi) {
-        this.icuBidi = bidi;
+    private Bidi() {
+        super();
     }
 
     /**
@@ -218,8 +218,8 @@
                     "text.12", new Object[] { lineStart, lineLimit, length })); //$NON-NLS-1$
         }
 
-        com.ibm.icu.text.Bidi lineBidi = icuBidi.createLineBidi(lineStart, lineLimit);
-        Bidi bidi = new Bidi(lineBidi);
+        Bidi bidi = new Bidi();
+        bidi.icuBidi = icuBidi.createLineBidi(lineStart, lineLimit);
         return bidi;
     }
 



Mime
View raw message