[forge-dev] [JBoss JIRA] Created: (SEAMFORGE-264) Change Strings to take CharacterSequence in classes building java source files

Jason Porter (JIRA) jira-events at lists.jboss.org
Wed Jul 27 19:02:23 EDT 2011


Change Strings to take CharacterSequence in classes building java source files
------------------------------------------------------------------------------

                 Key: SEAMFORGE-264
                 URL: https://issues.jboss.org/browse/SEAMFORGE-264
             Project: Seam Forge
          Issue Type: Enhancement
          Components: Plugin API
    Affects Versions: 1.0.0.Alpha4
            Reporter: Jason Porter
            Priority: Minor


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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the forge-dev mailing list