Bug 32857 - Documentation is wrong about getChomp and getPrechomp
Summary: Documentation is wrong about getChomp and getPrechomp
Status: RESOLVED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: String Taglib (show other bugs)
Version: 1.1
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL: http://jakarta.apache.org/taglibs/doc...
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 11:35 UTC by Eric Lewis
Modified: 2009-07-11 08:31 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Lewis 2004-12-28 11:35:29 UTC
getChomp: "Get everything after a specified delimiter. Returns the
delimiter as well."  If this were the case, <str:getChomp
delimiter="T">TestTeee</str:getChomp> would return 'Teee', but it returns
'eee'.

getPrechomp: "Get everything up until a specific delimiter. Returns the
delimiter as well."  Same here, for <str:getPrechomp
delimiter="t">TestTeee</str:getPrechomp> according to the documentation
'Test' would be returned, but in fact 'Tes' is returned.
Comment 1 Henri Yandell 2009-07-11 08:31:29 UTC
svn ci -m "Fixing javadoc per Bugzilla #32857" src/main/java/org/apache/taglibs/string/*Tag.java
Sending        src/main/java/org/apache/taglibs/string/GetChompTag.java
Sending        src/main/java/org/apache/taglibs/string/GetPrechompTag.java
Transmitting file data ..
Committed revision 793183.