[jbosstools-issues] [JBoss JIRA] (JBIDE-17735) JAX-RS Application wizard: double comments in generated class
Xavier Coulon (JIRA)
issues at jboss.org
Wed Jul 2 12:36:24 EDT 2014
[ https://issues.jboss.org/browse/JBIDE-17735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xavier Coulon updated JBIDE-17735:
----------------------------------
Fix Version/s: 4.2.0.CR1
(was: 4.2.0.Beta3)
Priority: Minor (was: Major)
Marking as 'minor' bug and post-poning to 4.2.0.CR1 until we get a response from Eclipse JDT team.
> JAX-RS Application wizard: double comments in generated class
> -------------------------------------------------------------
>
> Key: JBIDE-17735
> URL: https://issues.jboss.org/browse/JBIDE-17735
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: upstream, webservices
> Affects Versions: 4.2.0.Beta2
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Priority: Minor
> Fix For: 4.2.0.CR1
>
>
> JAX-RS Application class looks quite unusual, when is generated using JAX-RS Application wizard with option generate comments into default package.
> {code}
> @ApplicationPath("/rest")
> /**
> *
> */
> /**
> * @author rrabara
> *
> */
> public class App extends Application {
> }
> {code}
> When it is generated into user defined package, then there is just one java doc comment:
> {code}
> @ApplicationPath("/rest")
> /**
> * @author rrabara
> *
> */
> public class App extends Application {
> }
> {code}
> However, shouldn't the comment be above the annotation? It seems that it's the preferred way (e.g. see examples http://docs.oracle.com/javase/tutorial/java/annotations/predefined.html)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
More information about the jbosstools-issues
mailing list