[forge-issues] [JBoss JIRA] (FORGE-1254) calling setStatic(true) on a static method add keyword "static" twice
George Gastaldi (JIRA)
jira-events at lists.jboss.org
Wed Oct 9 16:58:02 EDT 2013
[ https://issues.jboss.org/browse/FORGE-1254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12812894#comment-12812894 ]
George Gastaldi commented on FORGE-1254:
----------------------------------------
Hi Michael,
Thanks for opening the issue. Would you like to submit a pull-request? The code is available in https://github.com/forge/java-parser.
If you could create a TestCase and provide us a fix that would be great, if not, don't worry, we'll pick this issue later.
Best Regards,
George Gastaldi
> calling setStatic(true) on a static method add keyword "static" twice
> ---------------------------------------------------------------------
>
> Key: FORGE-1254
> URL: https://issues.jboss.org/browse/FORGE-1254
> Project: Forge
> Issue Type: Bug
> Components: Parsers / File Manipulation
> Affects Versions: 1.4.1.Final
> Reporter: Michael Schwartz
> Priority: Minor
> Fix For: 1.x Future, 2.x Future
>
>
> Testclass:
> {code:java}
> class Tester() {
> static void testit() {
> }
> }
> {code}
> Forge:
> {code:java}
> Method<?> method = entityclass.getMethod("testit");
> method.setStatic(true);
> // save the class
> {code}
> yields to:
> {code}
> static static void testit() {}
> {code}
--
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