[JBoss JIRA] (FORGE-1254) calling setStatic(true) on a static method add keyword "static" twice
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1254?page=com.atlassian.jira.plugin... ]
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
12 years, 6 months
[JBoss JIRA] (FORGE-1254) calling setStatic(true) on a static method add keyword "static" twice
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-1254?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FORGE-1254:
-----------------------------------
Description:
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}
was:
Testclass:
class Tester() {
static void testit() {
}
}
Forge:
Method<?> method = entityclass.getMethod("testit");
method.setStatic(true);
// save the class
yields to:
static static void testit() {}
> 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
12 years, 6 months
[JBoss JIRA] (FORGE-1253) Eclipse UI Validation errors are not displayed on page shown, must edit a value for error to display
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-1253:
-----------------------------------------
Summary: Eclipse UI Validation errors are not displayed on page shown, must edit a value for error to display
Key: FORGE-1253
URL: https://issues.jboss.org/browse/FORGE-1253
Project: Forge
Issue Type: Bug
Components: UI - Eclipse
Affects Versions: 2.0.0.Alpha13
Reporter: Lincoln Baxter III
Run JPA setup in a project using default settings. Finish.
Run JPA setup in a project again using default settings, click Next - you will not be able to finish, and no validation errors display until a value is changed.
The problem is that a persistence unit already exists with the given name, and you cannot Finish until a new name is specified.
--
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
12 years, 6 months
[JBoss JIRA] (FORGE-1252) Support Maven enhanced AddonRepository implementation
by Lincoln Baxter III (JIRA)
Lincoln Baxter III created FORGE-1252:
-----------------------------------------
Summary: Support Maven enhanced AddonRepository implementation
Key: FORGE-1252
URL: https://issues.jboss.org/browse/FORGE-1252
Project: Forge
Issue Type: Feature Request
Components: Furnace (Container)
Affects Versions: 2.0.0.Alpha13
Reporter: Lincoln Baxter III
we could always make a versioned repository with the native filesystem
10:57 it would be simpler and less error prone than relying on a full VCS integration provided by either the OS or the runtime tools
10:57 it takes more spcae
10:57 space
10:57 but it is simpler
10:58 i think that the best solution would be to implement a fully maven-backed solution
10:58 that simply uses pointers into the local maven repository isntead of copying JAR files
10:58 then we don't duplicate any space
--
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
12 years, 6 months