You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2014/06/20 15:14:44 UTC

svn commit: r1604168 - /db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/NativeAuthenticationServiceImpl.java

Author: rhillegas
Date: Fri Jun 20 13:14:44 2014
New Revision: 1604168

URL: http://svn.apache.org/r1604168
Log:
DERBY-6621: Remove unused method; commit derby-6621-03-aa-removeUnusedMethod.diff.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/NativeAuthenticationServiceImpl.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/NativeAuthenticationServiceImpl.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/NativeAuthenticationServiceImpl.java?rev=1604168&r1=1604167&r2=1604168&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/NativeAuthenticationServiceImpl.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/impl/jdbc/authentication/NativeAuthenticationServiceImpl.java Fri Jun 20 13:14:44 2014
@@ -447,14 +447,6 @@ public final class NativeAuthenticationS
         // If we get here, then we successfully connected to the credentials database. Hooray.
         return true;
     }
-    /** Call a setter method on a DataSource via reflection */
-    private void callDataSourceSetter( DataSource ds, String methodName, String value )
-        throws StandardException
-    {
-        try {
-            ds.getClass().getMethod( methodName, new Class[] { String.class } ).invoke( ds, new Object[] { value } );
-        } catch (Exception e)  { throw wrap( e ); }   
-    }
     private StandardException wrap( Throwable t )   { return StandardException.plainWrapException( t ); }
     
     ///////////////////////////////////////////////////////////////////////////////////