[forge-issues] [JBoss JIRA] (FORGE-127) Change Strings to take CharacterSequence in classes building java source files
George Gastaldi (JIRA)
issues at jboss.org
Wed Feb 26 14:32:47 EST 2014
[ https://issues.jboss.org/browse/FORGE-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
George Gastaldi updated FORGE-127:
----------------------------------
Component/s: Parsers / File Manipulation
(was: Plugin API)
> Change Strings to take CharacterSequence in classes building java source files
> ------------------------------------------------------------------------------
>
> Key: FORGE-127
> URL: https://issues.jboss.org/browse/FORGE-127
> Project: Forge
> Issue Type: Enhancement
> Components: Parsers / File Manipulation
> Affects Versions: 1.0.0.Alpha4
> Reporter: Jason Porter
> Priority: Minor
> Fix For: 2.x Future
>
>
> I'm using org.jboss.forge.parser.java.Method right now and noticing everything takes a string. A nice enhancement would be to accept CharacterSequence (http://download.oracle.com/javase/6/docs/api/java/lang/CharSequence.html) instead of String. This has the added bonus of being able to pass a StringBuilder without having to call toString() on it. Other CharacterSequences may also find ease of use with this change.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the forge-issues
mailing list