poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiwi...@apache.org
Subject svn commit: r1881519 [3/3] - in /xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/store: DomImpl.java Locale.java
Date Sun, 06 Sep 2020 23:33:18 GMT
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=1881519&r1=1881518&r2=1881519&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 Sun Sep  6 23:33:18
2020
@@ -2270,7 +2270,7 @@ public final class Locale
                     x = _child;
                     _len = _n;
                 } else {
-                    x = DomImpl.firstChild(_parent);
+                    x = (Dom) DomImpl.firstChild(_parent);
                     _len = 0;
 
                     // cache the 0th child
@@ -2278,7 +2278,7 @@ public final class Locale
                     _n = 0;
                 }
 
-                for (; x != null; x = DomImpl.nextSibling(x)) {
+                for (; x != null; x = (Dom) DomImpl.nextSibling(x)) {
                     _len++;
                 }
             }
@@ -2297,7 +2297,7 @@ public final class Locale
                 _n = -1;
                 _len = -1;
 
-                for (Dom x = DomImpl.firstChild(_parent); x != null; x = DomImpl.nextSibling(x))
{
+                for (Dom x = (Dom) DomImpl.firstChild(_parent); x != null; x = (Dom) DomImpl.nextSibling(x))
{
                     _n++;
                     if (_child == null && n == _n) {
                         _child = x;
@@ -2314,7 +2314,7 @@ public final class Locale
 
             if (n > _n) {
                 while (n > _n) {
-                    for (Dom x = DomImpl.nextSibling(_child); ; x = DomImpl.nextSibling(x))
{
+                    for (Dom x = (Dom) DomImpl.nextSibling(_child); ; x = (Dom) DomImpl.nextSibling(x))
{
                         if (x == null) {
                             return null;
                         }
@@ -2327,7 +2327,7 @@ public final class Locale
                 }
             } else if (n < _n) {
                 while (n < _n) {
-                    for (Dom x = DomImpl.prevSibling(_child); ; x = DomImpl.prevSibling(x))
{
+                    for (Dom x = (Dom) DomImpl.prevSibling(_child); ; x = (Dom) DomImpl.prevSibling(x))
{
                         if (x == null) {
                             return null;
                         }



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


Mime
View raw message