You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Chanaka (Jira)" <ji...@apache.org> on 2019/09/03 03:44:00 UTC

[jira] [Created] (GORA-632) Compiler adds unnecessary javadoc @param for isDirty methods in generated files

Chanaka created GORA-632:
----------------------------

             Summary: Compiler adds unnecessary javadoc @param for isDirty methods in generated files
                 Key: GORA-632
                 URL: https://issues.apache.org/jira/browse/GORA-632
             Project: Apache Gora
          Issue Type: Bug
          Components: gora-compiler
            Reporter: Chanaka


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

Eg:
{code:java}
/**
 * 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);
}
{code}
Fix the compiler and refactor existing generated files



--
This message was sent by Atlassian Jira
(v8.3.2#803003)