You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2022/05/17 15:22:53 UTC
svn commit: r1900994 - /xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/store/Locale.java
Author: fanningpj
Date: Tue May 17 15:22:53 2022
New Revision: 1900994
URL: http://svn.apache.org/viewvc?rev=1900994&view=rev
Log:
small refactor
Modified:
xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/store/Locale.java
Modified: xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/store/Locale.java
URL: http://svn.apache.org/viewvc/xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/store/Locale.java?rev=1900994&r1=1900993&r2=1900994&view=diff
==============================================================================
--- xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/store/Locale.java (original)
+++ xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/store/Locale.java Tue May 17 15:22:53 2022
@@ -117,12 +117,12 @@ public final class Locale
}
options = XmlOptions.maskNull(options);
+ Object source = options.getUseSameLocale();
- if (options.getUseSameLocale() == null) {
+ if (source == null) {
return new Locale(stl, options);
}
- Object source = options.getUseSameLocale();
Locale l;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org