Wrong method validation in seam wizards.
----------------------------------------
Key: JBIDE-4614
URL:
https://jira.jboss.org/jira/browse/JBIDE-4614
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Seam
Affects Versions: 3.1.0.M2
Reporter: Dmitry Geraskov
Assignee: Dmitry Geraskov
Fix For: 3.1.0.M3
Use for example New seam action wizard to test.
Enter
m(){ String h="Hello, from Dima";} p
as method name. Validator doesn't show error.
This is because of wrong ValidatorFactory.SEAM_METHOD_NAME_VALIDATOR.
Tis probably contains some other validation problems.
Should use
JavaConventions.validate[Package | Method | Field | ClassFile ...]Name(value
.toString(), CompilerOptions.VERSION_1_5,
CompilerOptions.VERSION_1_5);
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira