Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6245365

Missing Closing Parenthesis in java.util.Scanner code snippet

XMLWordPrintable

    • b57
    • x86, sparc
    • linux, solaris_10, windows_xp

      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

            sherman Xueming Shen
            jssunw Jitender S (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: