src/java.desktop/share/classes/javax/swing/text/html/Map.java

Print this page

        

*** 178,188 **** * Creates and returns an array of integers from the String * <code>stringCoords</code>. If one of the values represents a * % the returned value with be negative. If a parse error results * from trying to parse one of the numbers null is returned. */ ! static protected int[] extractCoords(Object stringCoords) { if (stringCoords == null || !(stringCoords instanceof String)) { return null; } StringTokenizer st = new StringTokenizer((String)stringCoords, --- 178,188 ---- * Creates and returns an array of integers from the String * <code>stringCoords</code>. If one of the values represents a * % the returned value with be negative. If a parse error results * from trying to parse one of the numbers null is returned. */ ! protected static int[] extractCoords(Object stringCoords) { if (stringCoords == null || !(stringCoords instanceof String)) { return null; } StringTokenizer st = new StringTokenizer((String)stringCoords,