xmlbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ce...@apache.org
Subject svn commit: r720988 - /xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java
Date Wed, 26 Nov 2008 21:32:58 GMT
Author: cezar
Date: Wed Nov 26 13:32:57 2008
New Revision: 720988

URL: http://svn.apache.org/viewvc?rev=720988&view=rev
Log:
Revert DefaultQNameFactory changes.



Modified:
    xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java

Modified: xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java?rev=720988&r1=720987&r2=720988&view=diff
==============================================================================
--- xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java (original)
+++ xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Locale.java Wed Nov 26 13:32:57
2008
@@ -3687,26 +3687,23 @@
     private static final class DefaultQNameFactory
         implements QNameFactory
     {
-        private QNameCache getCache()
-        {
-            return XmlBeans.getQNameCache();
-        }
+        private QNameCache _cache = XmlBeans.getQNameCache();
 
         public QName getQName(String uri, String local)
         {
-            return getCache().getName(uri, local, "");
+            return _cache.getName(uri, local, "");
         }
 
         public QName getQName(String uri, String local, String prefix)
         {
-            return getCache().getName(uri, local, prefix);
+            return _cache.getName(uri, local, prefix);
         }
 
         public QName getQName(char[] uriSrc, int uriPos, int uriCch,
             char[] localSrc, int localPos, int localCch)
         {
             return
-                getCache().getName(new String(uriSrc, uriPos, uriCch),
+                _cache.getName(new String(uriSrc, uriPos, uriCch),
                     new String(localSrc, localPos, localCch),
                     "");
         }
@@ -3716,7 +3713,7 @@
             char[] prefixSrc, int prefixPos, int prefixCch)
         {
             return
-                getCache().getName(new String(uriSrc, uriPos, uriCch),
+                _cache.getName(new String(uriSrc, uriPos, uriCch),
                     new String(localSrc, localPos, localCch),
                     new String(prefixSrc, prefixPos, prefixCch));
         }



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


Mime
View raw message