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

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

    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

          People

            Unassigned Unassigned
            chanakadkb Chanaka Balasooriya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: