javadoc first line cannot end with question mark?

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.2.2
    • Component/s: tools



      Name: rlT66838 Date: 08/10/99


      If my first line of my javadoc comment ends in a
      question mark instead of a period, the next line
      gets included as part of the first line. Not good.

      Question marks are good for describing boolean attributes
      or methods that return a boolean value.

      I know that the requirement is to find a line that ends
      in a period and then a space, but perhaps this can be
      extended to include a quesion mark and a space also.

      -----Test Case-----------------------------
      public class JavadocDemo
      {


          /** First line.

               Second line.

          */
          public boolean correct()
          {

          }

          /** First line?

               Second line.

          */
          public boolean notCorrect()
          {

          }

      }
      (Review ID: 93457)
      ======================================================================

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: