A DESCRIPTION OF THE PROBLEM :
The code snippet provided to use "MatchResult" does not compile because it is missing ')'
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
System.out.println(result.group(i));
ACTUAL -
System.out.println(result.group(i);
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
###@###.### 2005-03-24 06:05:50 GMT
The code snippet provided to use "MatchResult" does not compile because it is missing ')'
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
System.out.println(result.group(i));
ACTUAL -
System.out.println(result.group(i);
URL OF FAULTY DOCUMENTATION :
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html
###@###.### 2005-03-24 06:05:50 GMT
- duplicates
-
JDK-6207991 Parenthesis missing in code example in Scanner.java javadoc.
-
- Closed
-
-
JDK-6356248 Missing right bracket in example in the Scanner API documentation
-
- Closed
-