Repository: gora
Updated Branches:
  refs/heads/master c3271e2b6 -> 0126ecd90


GORA-390 Rework generated isXXXDirty methods.

Remove unneeded _value_ parameter.


Project: http://git-wip-us.apache.org/repos/asf/gora/repo
Commit: http://git-wip-us.apache.org/repos/asf/gora/commit/dc5996a5
Tree: http://git-wip-us.apache.org/repos/asf/gora/tree/dc5996a5
Diff: http://git-wip-us.apache.org/repos/asf/gora/diff/dc5996a5

Branch: refs/heads/master
Commit: dc5996a5c110ca04e2a641c865f94ffe889f84fb
Parents: c3271e2
Author: Damien Raude-Morvan <[email protected]>
Authored: Thu Oct 23 00:32:08 2014 +0200
Committer: Damien Raude-Morvan <[email protected]>
Committed: Thu Oct 23 00:32:08 2014 +0200

----------------------------------------------------------------------
 .../main/velocity/org/apache/gora/compiler/templates/record.vm   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/gora/blob/dc5996a5/gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm
----------------------------------------------------------------------
diff --git 
a/gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm 
b/gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm
index 1ce535e..daf5095 100644
--- 
a/gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm
+++ 
b/gora-compiler/src/main/velocity/org/apache/gora/compiler/templates/record.vm
@@ -159,7 +159,7 @@ public class ${this.mangle($schema.getName())}#if 
($schema.isError()) extends or
 #if ($field.doc())   * $field.doc()#end
    * @param value the value to set.
    */
-  public boolean ${this.generateDirtyMethod($schema, 
$field)}(${this.javaType($field.schema())} value) {
+  public boolean ${this.generateDirtyMethod($schema, $field)}() {
     return isDirty(${field.pos()});
   }
 
@@ -345,7 +345,7 @@ public class ${this.mangle($schema.getName())}#if 
($schema.isError()) extends or
        #if ($field.doc())   * $field.doc()#end
           * @param value the value to set.
           */
-         public boolean ${this.generateDirtyMethod($schema, 
$field)}(${this.javaType($field.schema())} value) {
+         public boolean ${this.generateDirtyMethod($schema, $field)}() {
            throw new java.lang.UnsupportedOperationException("IsDirty is not 
supported on tombstones");
          }
        

Reply via email to