diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-21 09:05:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-07 13:20:03 +0200 |
commit | 821386a80f8b31f1ec32aa258c113183ef4c4881 (patch) | |
tree | 1a77d1a4ca8ac04f2007c9aa7bf350fe864c366a /qadevOOo/tests | |
parent | 58e5a71c2e66f053876ebbe37fa4ae383af2d8fc (diff) |
java: simplify some for loops to while loops
Change-Id: I323ab12c634d3baa4f624b63d7d483112c23192c
Diffstat (limited to 'qadevOOo/tests')
-rw-r--r-- | qadevOOo/tests/java/ifc/frame/_XDesktop.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/ifc/frame/_XDesktop.java b/qadevOOo/tests/java/ifc/frame/_XDesktop.java index 207d0915c6b5..ac1457197cfd 100644 --- a/qadevOOo/tests/java/ifc/frame/_XDesktop.java +++ b/qadevOOo/tests/java/ifc/frame/_XDesktop.java @@ -56,7 +56,7 @@ public class _XDesktop extends MultiMethodTest { boolean result = false; try { - for (; xEnum.hasMoreElements();) { + while (xEnum.hasMoreElements()) { try { AnyConverter.toObject( new Type(XInterface.class), xEnum.nextElement()); |