geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dwo...@apache.org
Subject svn commit: r539126 - /geronimo/server/trunk/modules/geronimo-naming/src/test/java/org/apache/geronimo/gjndi/binding/MockDataSource.java
Date Thu, 17 May 2007 21:37:38 GMT
Author: dwoods
Date: Thu May 17 14:37:37 2007
New Revision: 539126

URL: http://svn.apache.org/viewvc?view=rev&rev=539126
Log:
GERONIMO-3171 java 1.6 compile fix for geronimo-naming mock DataSource class.  Verified server
still builds and runs with Sun 1.5.0_11.  Did not verify on Java 6.  Toby, thanks for the
patch.

Modified:
    geronimo/server/trunk/modules/geronimo-naming/src/test/java/org/apache/geronimo/gjndi/binding/MockDataSource.java

Modified: geronimo/server/trunk/modules/geronimo-naming/src/test/java/org/apache/geronimo/gjndi/binding/MockDataSource.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-naming/src/test/java/org/apache/geronimo/gjndi/binding/MockDataSource.java?view=diff&rev=539126&r1=539125&r2=539126
==============================================================================
--- geronimo/server/trunk/modules/geronimo-naming/src/test/java/org/apache/geronimo/gjndi/binding/MockDataSource.java
(original)
+++ geronimo/server/trunk/modules/geronimo-naming/src/test/java/org/apache/geronimo/gjndi/binding/MockDataSource.java
Thu May 17 14:37:37 2007
@@ -50,6 +50,14 @@
         return 0;
     }
 
+    public boolean isWrapperFor(Class<?> iface) throws SQLException {
+        return false;
+    }
+
+    public <T> T unwrap(Class<T> iface) throws SQLException {
+        return null;
+    }
+
     public static final GBeanInfo GBEAN_INFO;
 
     public static GBeanInfo getGBeanInfo() {



Mime
View raw message