Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-632

Compiler adds unnecessary javadoc @param for isDirty methods in generated files

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • gora-compiler
    • None

    Description

      If a method doesn't have any arguments it shouldn't have @param tags in the javadoc comments

      Eg:

      /**
       * Checks the dirty status of the 'value' field. A field is dirty if it represents a change that has not yet been written to the database.
       * @param value the value to set.
       */
      public boolean isValueDirty() {
        return isDirty(5);
      }
      

      Fix the compiler and refactor existing generated files

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            chanakadkb Chanaka Balasooriya

            Dates

              Created:
              Updated:

              Slack

                Issue deployment