db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1103194 - in /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om: BooleanKey.java DateKey.java StringKey.java
Date Sat, 14 May 2011 19:31:16 GMT
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


Mime
View raw message