jdk/src/share/classes/java/util/StringTokenizer.java
changeset 22078 bdec5d53e98c
parent 5506 202f599c92aa
child 24865 09b1d992ca72
equal deleted inserted replaced
22077:29f58b0d4f78 22078:bdec5d53e98c
   295         }
   295         }
   296         return position;
   296         return position;
   297     }
   297     }
   298 
   298 
   299     private boolean isDelimiter(int codePoint) {
   299     private boolean isDelimiter(int codePoint) {
   300         for (int i = 0; i < delimiterCodePoints.length; i++) {
   300         for (int delimiterCodePoint : delimiterCodePoints) {
   301             if (delimiterCodePoints[i] == codePoint) {
   301             if (delimiterCodePoint == codePoint) {
   302                 return true;
   302                 return true;
   303             }
   303             }
   304         }
   304         }
   305         return false;
   305         return false;
   306     }
   306     }