axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gdani...@apache.org
Subject cvs commit: xml-axis/java/src/org/apache/axis/providers/java EJBProvider.java
Date Mon, 04 Nov 2002 16:32:35 GMT
gdaniels    2002/11/04 08:32:35

  Modified:    java/src/org/apache/axis/handlers/soap SOAPService.java
               java/src/org/apache/axis/providers/java EJBProvider.java
  Log:
  Remove redundant casts.
  
  Revision  Changes    Path
  1.87      +1 -2      xml-axis/java/src/org/apache/axis/handlers/soap/SOAPService.java
  
  Index: SOAPService.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/handlers/soap/SOAPService.java,v
  retrieving revision 1.86
  retrieving revision 1.87
  diff -u -r1.86 -r1.87
  --- SOAPService.java	9 Oct 2002 19:06:31 -0000	1.86
  +++ SOAPService.java	4 Nov 2002 16:32:35 -0000	1.87
  @@ -283,8 +283,7 @@
       {
           if (validTransports != null) {
               for (int i = 0; i < validTransports.size(); i++) {
  -                if (((String)validTransports.elementAt(i)).
  -                                                 equals(transportName))
  +                if (validTransports.elementAt(i).equals(transportName))
                       return true;
               }
               return false;
  
  
  
  1.34      +1 -1      xml-axis/java/src/org/apache/axis/providers/java/EJBProvider.java
  
  Index: EJBProvider.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/providers/java/EJBProvider.java,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- EJBProvider.java	18 Sep 2002 16:10:34 -0000	1.33
  +++ EJBProvider.java	4 Nov 2002 16:32:35 -0000	1.34
  @@ -130,7 +130,7 @@
           // Get the Home class name from the configuration file
           // NOTE: Do we really need to have this in the config file
           // since we can get it from ejbHome.getClass()???
  -        String homeName = (String) getStrOption(OPTION_HOMEINTERFACENAME, 
  +        String homeName = getStrOption(OPTION_HOMEINTERFACENAME, 
                                                   msgContext.getService());
           if (homeName == null) 
               throw new AxisFault(
  
  
  

Mime
View raw message