db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r659182 - in /db/derby/code/trunk/java/demo: build.xml vtis/java/org/apache/derbyDemo/vtis/snapshot/Subscription.java
Date Thu, 22 May 2008 18:02:51 GMT
Author: rhillegas
Date: Thu May 22 11:02:51 2008
New Revision: 659182

URL: http://svn.apache.org/viewvc?rev=659182&view=rev
Log:
DERBY-3684: Eliminate unchecked warning on compilation of Subscription.java.

Modified:
    db/derby/code/trunk/java/demo/build.xml
    db/derby/code/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/snapshot/Subscription.java

Modified: db/derby/code/trunk/java/demo/build.xml
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/demo/build.xml?rev=659182&r1=659181&r2=659182&view=diff
==============================================================================
--- db/derby/code/trunk/java/demo/build.xml (original)
+++ db/derby/code/trunk/java/demo/build.xml Thu May 22 11:02:51 2008
@@ -144,6 +144,7 @@
       <classpath>
         <pathelement path="${java15compile.classpath}"/>
       </classpath>
+       <!-- <compilerarg value="-Xlint:unchecked"/> -->
     </javac>
   </target>
 

Modified: db/derby/code/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/snapshot/Subscription.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/snapshot/Subscription.java?rev=659182&r1=659181&r2=659182&view=diff
==============================================================================
--- db/derby/code/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/snapshot/Subscription.java
(original)
+++ db/derby/code/trunk/java/demo/vtis/java/org/apache/derbyDemo/vtis/snapshot/Subscription.java
Thu May 22 11:02:51 2008
@@ -120,7 +120,7 @@
     public  static  void  createSubscription( String subscriptionClassName, String connectionURL
)
         throws Exception
     {
-        Class                   subscriptionClass = Class.forName( subscriptionClassName
);
+        Class<?>                   subscriptionClass = Class.forName( subscriptionClassName
);
         SubscriptionSignature   subscriptionSignature = (SubscriptionSignature) subscriptionClass.getAnnotation(
SubscriptionSignature.class );
         String                  jdbcDriverName = subscriptionSignature.jdbcDriverName();
         String[]                subscriptionParameters = subscriptionSignature.parameters();
@@ -166,7 +166,7 @@
     public  static  void  dropSubscription( String subscriptionClassName )
         throws Exception
     {
-        Class                   subscriptionClass = Class.forName( subscriptionClassName
);
+        Class<?>                   subscriptionClass = Class.forName( subscriptionClassName
);
         SubscriptionSignature   subscriptionSignature = (SubscriptionSignature) subscriptionClass.getAnnotation(
SubscriptionSignature.class );
         Method[]                methods = subscriptionClass.getMethods();
         int                     methodCount = methods.length;
@@ -203,7 +203,7 @@
     public  static  void  refreshSubscription( String subscriptionClassName, String connectionURL,
String... parameterValues )
         throws Exception
     {
-        Class                   subscriptionClass = Class.forName( subscriptionClassName
);
+        Class<?>                   subscriptionClass = Class.forName( subscriptionClassName
);
         SubscriptionSignature   subscriptionSignature = (SubscriptionSignature) subscriptionClass.getAnnotation(
SubscriptionSignature.class );
         String                  jdbcDriverName = subscriptionSignature.jdbcDriverName();
         String[]                parameterNames = subscriptionSignature.parameters();
@@ -540,7 +540,7 @@
         ( String subscriptionClassName, String[] parameterValues, String connectionURL )
         throws Exception
     {
-        Class                       subscriptionClass = Class.forName( subscriptionClassName
);
+        Class<?>                       subscriptionClass = Class.forName( subscriptionClassName
);
         SubscriptionSignature       subscriptionSignature = (SubscriptionSignature) subscriptionClass.getAnnotation(
SubscriptionSignature.class );
         HashMap<String, String>     parameterMap = null;
         String[]                    parameterNames = subscriptionSignature.parameters();



Mime
View raw message