You are viewing a plain text version of this content. The canonical link for it is here.
Posted to torque-dev@db.apache.org by tf...@apache.org on 2011/05/14 21:31:16 UTC

svn commit: r1103194 - in /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om: BooleanKey.java DateKey.java StringKey.java

Author: tfischer
Date: Sat May 14 19:31:16 2011
New Revision: 1103194

URL: http://svn.apache.org/viewvc?rev=1103194&view=rev
Log:
add @Override to overridden methods

Modified:
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/BooleanKey.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/DateKey.java
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/StringKey.java

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/BooleanKey.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/BooleanKey.java?rev=1103194&r1=1103193&r2=1103194&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/BooleanKey.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/BooleanKey.java Sat May 14 19:31:16 2011
@@ -144,6 +144,7 @@ public class BooleanKey extends SimpleKe
      * @param keyObj the comparison value
      * @return whether the two objects are equal
      */
+    @Override
     public boolean equals(Object keyObj)
     {
         boolean isEqual = false;

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/DateKey.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/DateKey.java?rev=1103194&r1=1103193&r2=1103194&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/DateKey.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/DateKey.java Sat May 14 19:31:16 2011
@@ -139,6 +139,7 @@ public class DateKey extends SimpleKey
      * @param keyObj the comparison value
      * @return whether the two objects are equal
      */
+    @Override
     public boolean equals(Object keyObj)
     {
         boolean isEqual = false;

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/StringKey.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/StringKey.java?rev=1103194&r1=1103193&r2=1103194&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/StringKey.java (original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/StringKey.java Sat May 14 19:31:16 2011
@@ -1,7 +1,5 @@
 package org.apache.torque.om;
 
-import java.sql.Types;
-
 /*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
@@ -21,6 +19,8 @@ import java.sql.Types;
  * under the License.
  */
 
+import java.sql.Types;
+
 /**
  * This class can be used as an ObjectKey to uniquely identify an
  * object within an application where the id  consists
@@ -127,6 +127,7 @@ public class StringKey extends SimpleKey
      * @param keyObj the comparison value
      * @return whether the two objects are equal
      */
+    @Override
     public boolean equals(Object keyObj)
     {
         boolean isEqual = false;



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org