[
https://jira.jboss.org/jira/browse/JBIDE-4614?page=com.atlassian.jira.plu...
]
Dmitry Geraskov resolved JBIDE-4614.
------------------------------------
Resolution: Done
Assignee: Anton Klimkovich (was: Dmitry Geraskov)
Fixed:
1. Method name is validated by JavaConvention.
2. Added default colpilation unit constants. Compilation Level is determined from selected
project.
3. When interface name is validated do not rely on previous validator (do not gulp errors
and see only for warning).
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: Anton Klimkovich
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