jakarta-oro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8298] New: - default split of empty string should return empty list
Date Fri, 19 Apr 2002 15:43:27 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8298>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8298

default split of empty string should return empty list

           Summary: default split of empty string should return empty list
           Product: ORO
           Version: 2.0
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: oro-dev@jakarta.apache.org
        ReportedBy: danny-apache-bugs@sadinoff.com


List tokenList = new ArrayList();
new Perl5Util.split(tokenList,"");
if( 0 != 
tokenList.length())
   System.out.println("aiee!  this doesn't work like any perl I 
know!");


The javadoc on this is quite clear, and states that it should match the 
functionality of split(/\s+/,"") , which returns an empty list on all of the versions of perl
I 
could find back to 5.003

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


Mime
View raw message