avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/container/src/java/org/apache/excalibur/container/legacy LegacyComponentManager.java
Date Wed, 28 Aug 2002 17:34:30 GMT
bloritsch    2002/08/28 10:34:30

  Modified:    container/src/java/org/apache/excalibur/container/legacy
                        LegacyComponentManager.java
  Log:
  I've been working with C++ too long.  I have to actually assign the result of the substring
to the variable....
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-avalon-excalibur/container/src/java/org/apache/excalibur/container/legacy/LegacyComponentManager.java
  
  Index: LegacyComponentManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/container/src/java/org/apache/excalibur/container/legacy/LegacyComponentManager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- LegacyComponentManager.java	28 Aug 2002 17:28:55 -0000	1.4
  +++ LegacyComponentManager.java	28 Aug 2002 17:34:30 -0000	1.5
  @@ -98,14 +98,14 @@
   
           if ( interfaceName.endsWith("Selector") )
           {
  -            interfaceName.substring( 0, interfaceName.length() -
  +            interfaceName = interfaceName.substring( 0, interfaceName.length() -
                                            "Selector".length() );
           }
   
           int index = interfaceName.indexOf("/");
           if ( index > 0 )
           {
  -            interfaceName.substring( 0, index );
  +            interfaceName = interfaceName.substring( 0, index );
           }
   
           try
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message