[JBoss JIRA] (JBIDE-19337) Generated JAX-RS endpoint hint in create method inline comment contains invalid code template
by Marián Labuda (JIRA)
Marián Labuda created JBIDE-19337:
-------------------------------------
Summary: Generated JAX-RS endpoint hint in create method inline comment contains invalid code template
Key: JBIDE-19337
URL: https://issues.jboss.org/browse/JBIDE-19337
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: webservices
Affects Versions: 4.3.0.Alpha1
Reporter: Marián Labuda
Priority: Minor
In JBIDE-18823 we implemented to generate create() method body in relation to (non)existing getId method in POJO class. If there is no such method, generated codes looks like this:
{code}
//TODO: process the given pojo
//you may want to use the following return statement, assuming that Pojo#getId() or a similar method
//would provide the identifier to retrieve the created Pojo resource:
//return Response.created(UriBuilder.fromResource(Pojo2Endpoint.class).path(String.valueOf(pojo2.getId())).build();
{code}
but the code in last inline comment should looks like this
{code}
Response.created(UriBuilder.fromResource(Pojo2Endpoint.class).path(String.valueOf(pojo2.getId())).build()).build();
{code}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JBDS-3030) Spring conflicting handler message after Spring perspective is reset
by Fred Bricon (JIRA)
[ https://issues.jboss.org/browse/JBDS-3030?page=com.atlassian.jira.plugin.... ]
Fred Bricon commented on JBDS-3030:
-----------------------------------
I can't reproduce with either 8.0.2.GA or 9.0.0.Alpha1. Both versions install STS 3.6.0.RELEASE plugins, containing the fix for https://issuetracker.springsource.com/browse/STS-3853.
Have you tried on a new workspace?
> Spring conflicting handler message after Spring perspective is reset
> --------------------------------------------------------------------
>
> Key: JBDS-3030
> URL: https://issues.jboss.org/browse/JBDS-3030
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Components: 3rd-party-certification, upstream
> Affects Versions: 8.0.0.Beta1
> Reporter: Jiri Peterka
> Assignee: Fred Bricon
> Priority: Minor
> Fix For: 8.x
>
> Attachments: spring-conflicting-handler-cr1b.png
>
>
> Conflicting handlers for AUTOGEN:::org.springsource.ide.eclipse.commons.launch.actionSet/org.springsource.ide.eclipse.commons.launch.relaunch.action: {ActionDelegateHandlerProxy(null,org.springsource.ide.eclipse.commons.ui.launch.StopProcessPullDownToolbarDelegate)} vs {ActionDelegateHandlerProxy(null,org.springsource.ide.eclipse.commons.ui.launch.RelaunchProcessPullDownToolbarDelegate)}
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months