directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r348730 - in /directory/sandbox/ersiner: apacheds-with-storedprocs/core-unit/src/test/java/org/apache/ldap/server/storedprocs/LdapClassLoaderTest.java eclipse-setup-for-apacheds-with-storedprocs.sh
Date Thu, 24 Nov 2005 13:34:37 GMT
Author: ersiner
Date: Thu Nov 24 05:34:29 2005
New Revision: 348730

URL: http://svn.apache.org/viewcvs?rev=348730&view=rev
Log:
Replace bash with sh.
Minor code cleanup.


Modified:
    directory/sandbox/ersiner/apacheds-with-storedprocs/core-unit/src/test/java/org/apache/ldap/server/storedprocs/LdapClassLoaderTest.java
    directory/sandbox/ersiner/eclipse-setup-for-apacheds-with-storedprocs.sh

Modified: directory/sandbox/ersiner/apacheds-with-storedprocs/core-unit/src/test/java/org/apache/ldap/server/storedprocs/LdapClassLoaderTest.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/apacheds-with-storedprocs/core-unit/src/test/java/org/apache/ldap/server/storedprocs/LdapClassLoaderTest.java?rev=348730&r1=348729&r2=348730&view=diff
==============================================================================
--- directory/sandbox/ersiner/apacheds-with-storedprocs/core-unit/src/test/java/org/apache/ldap/server/storedprocs/LdapClassLoaderTest.java
(original)
+++ directory/sandbox/ersiner/apacheds-with-storedprocs/core-unit/src/test/java/org/apache/ldap/server/storedprocs/LdapClassLoaderTest.java
Thu Nov 24 05:34:29 2005
@@ -64,7 +64,7 @@
         assertEquals( clazz.getName(), "HelloWorld" );
                
         // call a static method over loaded class via reflection
-        Method m = clazz.getMethod("main", new Class[] { (new String[] {}).getClass() });
+        Method m = clazz.getMethod("main", new Class[] { String[].class });
         m.invoke( null, new Object[] { new String[] {} } );
     }
 }

Modified: directory/sandbox/ersiner/eclipse-setup-for-apacheds-with-storedprocs.sh
URL: http://svn.apache.org/viewcvs/directory/sandbox/ersiner/eclipse-setup-for-apacheds-with-storedprocs.sh?rev=348730&r1=348729&r2=348730&view=diff
==============================================================================
--- directory/sandbox/ersiner/eclipse-setup-for-apacheds-with-storedprocs.sh (original)
+++ directory/sandbox/ersiner/eclipse-setup-for-apacheds-with-storedprocs.sh Thu Nov 24 05:34:29
2005
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 total=0;
 



Mime
View raw message