commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester/parser XercesParser.java
Date Fri, 26 Nov 2004 04:41:45 GMT
skitching    2004/11/25 20:41:45

  Modified:    digester/src/java/org/apache/commons/digester/parser
                        XercesParser.java
  Log:
  Fix java 1.5 warnings.
  
  Revision  Changes    Path
  1.8       +3 -3      jakarta-commons/digester/src/java/org/apache/commons/digester/parser/XercesParser.java
  
  Index: XercesParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/parser/XercesParser.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- XercesParser.java	10 May 2004 06:37:22 -0000	1.7
  +++ XercesParser.java	26 Nov 2004 04:41:45 -0000	1.8
  @@ -102,8 +102,8 @@
                               Class.forName("org.apache.xerces.impl.Version");
               // Will return Xerces-J 2.x.0
               Method method = 
  -                versionClass.getMethod("getVersion", null); 
  -            String version = (String)method.invoke(null,null);
  +                versionClass.getMethod("getVersion", (Class[])null); 
  +            String version = (String)method.invoke(null, (Object[])null);
               versionNumber = version.substring( "Xerces-J".length() , 
                                                  version.lastIndexOf(".") ); 
           } catch (Exception ex){
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message