diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-05 13:19:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-08 09:48:19 +0200 |
commit | b6a83e99c8f4442c3c96198ac816dcb99419a67e (patch) | |
tree | 680dc3e55306b355983aa8c810f610015a95bf5d /odk | |
parent | 8f020a45fa69c9458844b8b621df2e0b15ec3d16 (diff) |
java: remove redundant null checks
Change-Id: Ia42e5ed715fbd3f5b84029a9844da55f307c6260
Diffstat (limited to 'odk')
-rw-r--r-- | odk/examples/DevelopersGuide/Database/OpenQuery.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/Database/OpenQuery.java b/odk/examples/DevelopersGuide/Database/OpenQuery.java index a460b769f15e..92b0413c7723 100644 --- a/odk/examples/DevelopersGuide/Database/OpenQuery.java +++ b/odk/examples/DevelopersGuide/Database/OpenQuery.java @@ -120,7 +120,7 @@ public class OpenQuery { System.out.println("----------\t------"); // output result rows - while ( xRowSet != null && xRowSet.next() ) { + while ( xRowSet.next() ) { String ident = xRow.getString(xLoc.findColumn("IDENTIFIER")); String author = xRow.getString(xLoc.findColumn("AUTHOR")); System.out.println(ident + "\t\t" + author); |