[forge-issues] [JBoss JIRA] (FORGE-127) Change Strings to take CharacterSequence in classes building java source files

Lincoln Baxter III (JIRA) jira-events at lists.jboss.org
Wed Aug 22 12:52:15 EDT 2012


     [ https://issues.jboss.org/browse/FORGE-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lincoln Baxter III updated FORGE-127:
-------------------------------------

         Assignee: Lincoln Baxter III
    Fix Version/s: 1.0.7.Final

    
> 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: Plugin API
>    Affects Versions: 1.0.0.Alpha4
>            Reporter: Jason Porter
>            Assignee: Lincoln Baxter III
>            Priority: Minor
>             Fix For: 1.0.7.Final
>
>
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-issues mailing list