openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r1101474 - in /openjpa/trunk/openjpa-jdbc/src: main/java/org/apache/openjpa/jdbc/schema/Table.java test/java/org/apache/openjpa/jdbc/sql/TestDBDictionaryGeneratedSQL.java
Date Tue, 10 May 2011 14:32:21 GMT
Author: mikedd
Date: Tue May 10 14:32:20 2011
New Revision: 1101474

URL: http://svn.apache.org/viewvc?rev=1101474&view=rev
Log:
OPENJPA-1725: cleanup comments

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java
    openjpa/trunk/openjpa-jdbc/src/test/java/org/apache/openjpa/jdbc/sql/TestDBDictionaryGeneratedSQL.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java?rev=1101474&r1=1101473&r2=1101474&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java (original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/schema/Table.java Tue
May 10 14:32:20 2011
@@ -178,8 +178,9 @@ public class Table
     /**
      * Set the name of the table. This method can only be called on tables
      * that are not part of a schema.
-     * @deprecated (use setIdentifier(DBIdentifier) instead.
+     * @deprecated use setIdentifier(DBIdentifier) instead.
      */
+    @Deprecated
     public void setName(String name) {
         setIdentifier(DBIdentifier.newTable(name));
     }

Modified: openjpa/trunk/openjpa-jdbc/src/test/java/org/apache/openjpa/jdbc/sql/TestDBDictionaryGeneratedSQL.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/test/java/org/apache/openjpa/jdbc/sql/TestDBDictionaryGeneratedSQL.java?rev=1101474&r1=1101473&r2=1101474&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/test/java/org/apache/openjpa/jdbc/sql/TestDBDictionaryGeneratedSQL.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/test/java/org/apache/openjpa/jdbc/sql/TestDBDictionaryGeneratedSQL.java
Tue May 10 14:32:20 2011
@@ -52,7 +52,7 @@ public class TestDBDictionaryGeneratedSQ
             dict.getCreateTableSQL(table);
             fail("Expected a UserException");
         } catch (UserException ue) {
-            // expected - check message incase a different UserException is thrown.
+            // expected - check message in case a different UserException is thrown.
             assertTrue(ue.getMessage().contains("Table name \"NameIsTooLong\""));
         }
     }
@@ -83,7 +83,7 @@ public class TestDBDictionaryGeneratedSQ
             dict.getCreateTableSQL(table);
             fail("Expected a UserException");
         } catch (UserException ue) {
-            // expected - check message incase a different UserException is thrown.
+            // expected - check message in case a different UserException is thrown.
             assertTrue(ue.getMessage().contains("Table name \"IAmASchema.NameIsTooLong\""));
         } 
     }



Mime
View raw message