gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chanaka (Jira)" <j...@apache.org>
Subject [jira] [Created] (GORA-632) Compiler adds unnecessary javadoc @param for isDirty methods in generated files
Date Tue, 03 Sep 2019 03:44:00 GMT
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)

Mime
View raw message