axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: ws-axis/java/src/org/apache/axis/wsdl/symbolTable Utils.java
Date Thu, 03 Feb 2005 11:05:52 GMT
dims        2005/02/03 03:05:52

  Modified:    java/src/org/apache/axis/wsdl/symbolTable Utils.java
  Log:
  make sure there is something left in the local part
  
  Revision  Changes    Path
  1.43      +1 -1      ws-axis/java/src/org/apache/axis/wsdl/symbolTable/Utils.java
  
  Index: Utils.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/symbolTable/Utils.java,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- Utils.java	9 Dec 2004 22:30:00 -0000	1.42
  +++ Utils.java	3 Feb 2005 11:05:52 -0000	1.43
  @@ -752,7 +752,7 @@
   
       public static String getLastLocalPart(String localPart) {
           int anonymousDelimitorIndex = localPart.lastIndexOf('>');
  -        if (anonymousDelimitorIndex > -1) {
  +        if (anonymousDelimitorIndex > -1 && anonymousDelimitorIndex < localPart.length()-1)
{
               localPart = localPart.substring(anonymousDelimitorIndex + 1);
           }
           return localPart;
  
  
  

Mime
View raw message