[jbosstools-issues] [JBoss JIRA] (JBIDE-18903) Refactor implementations of ITagLibRecognizer
Viacheslav Kabanovich (JIRA)
issues at jboss.org
Mon Dec 8 19:42:39 EST 2014
Viacheslav Kabanovich created JBIDE-18903:
---------------------------------------------
Summary: Refactor implementations of ITagLibRecognizer
Key: JBIDE-18903
URL: https://issues.jboss.org/browse/JBIDE-18903
Project: Tools (JBoss Tools)
Issue Type: Task
Components: jsp/jsf/xml/html source editing
Affects Versions: 4.3.0.Alpha1
Reporter: Viacheslav Kabanovich
Assignee: Viacheslav Kabanovich
Fix For: 4.3.0.Alpha1
Currently, implementations of methods
{code}
boolean shouldBeLoaded(ITagLibrary lib, ELContext context);
boolean isUsed(IHTMLLibraryVersion version, ELContext context);
boolean isUsed(IHTMLLibraryVersion version, IFile file);
{code}
do the same but it is not evident since the code is not reused properly.
For now, it is better to implement two new methods through the old one and in future change only for subclasses that would really by some reasons need different implementation.
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the jbosstools-issues
mailing list