Author: polx
Date: Sun Jan 25 22:29:50 2009
New Revision: 737593

URL: http://svn.apache.org/viewvc?rev=737593&view=rev
Log:
JDK 1.6 compatibility, thanks to Gump for the warning.
paul

Modified:
    
commons/proper/jelly/trunk/jelly-tags/sql/src/java/org/apache/commons/jelly/tags/sql/DataSourceWrapper.java

Modified: 
commons/proper/jelly/trunk/jelly-tags/sql/src/java/org/apache/commons/jelly/tags/sql/DataSourceWrapper.java
URL: 
http://svn.apache.org/viewvc/commons/proper/jelly/trunk/jelly-tags/sql/src/java/org/apache/commons/jelly/tags/sql/DataSourceWrapper.java?rev=737593&r1=737592&r2=737593&view=diff
==============================================================================
--- 
commons/proper/jelly/trunk/jelly-tags/sql/src/java/org/apache/commons/jelly/tags/sql/DataSourceWrapper.java
 (original)
+++ 
commons/proper/jelly/trunk/jelly-tags/sql/src/java/org/apache/commons/jelly/tags/sql/DataSourceWrapper.java
 Sun Jan 25 22:29:50 2009
@@ -60,6 +60,14 @@
         this.jdbcURL = jdbcURL;
     }
 
+    public <T> T unwrap(Class<T> tClass) throws SQLException {
+        throw new SQLException(Resources.getMessage("NOT_SUPPORTED"));
+    }
+
+    public boolean isWrapperFor(Class<?> aClass) throws SQLException {
+        return false;
+    }
+
     public void setUserName(String userName) {
         this.userName = userName;
     }


Reply via email to