[
https://issues.jboss.org/browse/JBIDE-11582?page=com.atlassian.jira.plugi...
]
Jaroslav Jankovič updated JBIDE-11582:
--------------------------------------
Description:
There are many examples of validation problems which are reported twice, with the same
description, resource, path, location, type and also quick fix proposals. In this
situation I think there is no need to obtain two identical validation errors.
Examples of such a situation:
{code:title=Bean1.java|borderStyle=solid}
public class Bean1() {
public void foo(@Observes String param1, @Disposes String param2) {
}
}
{code}
{code:title=Bean2.java|borderStyle=solid}
public class Bean2() {
@Inject
public Bean2(@Observes String param) {
}
}
{code}
was:
There are many examples of validation problems which are reported twice, with the same
description, resource, path, location, type and also quick fix proposals. In this
situation I think there is no need to obtain two identical validation errors.
Examples of such a situation:
{code:title=Bean1.java|borderStyle=solid}
public class Bean1() {
public void foo(@Observes String param1, @Disposes String param2) {
}
}
{code}
{code:title=Bean2.java|borderStyle=solid}
public class Bean2() {
@Inject
public Bean(@Observes String param) {
}
}
{code}
One CDI validation problem per one validation issue should be
reported instead of two identical ones
----------------------------------------------------------------------------------------------------
Key: JBIDE-11582
URL:
https://issues.jboss.org/browse/JBIDE-11582
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: CDI
Affects Versions: 3.3.0.Beta2
Reporter: Jaroslav Jankovič
Assignee: Alexey Kazakov
Fix For: 3.3.0.Beta3
There are many examples of validation problems which are reported twice, with the same
description, resource, path, location, type and also quick fix proposals. In this
situation I think there is no need to obtain two identical validation errors.
Examples of such a situation:
{code:title=Bean1.java|borderStyle=solid}
public class Bean1() {
public void foo(@Observes String param1, @Disposes String param2) {
}
}
{code}
{code:title=Bean2.java|borderStyle=solid}
public class Bean2() {
@Inject
public Bean2(@Observes String param) {
}
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira