Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-18903 Refactor implementations of ITagLibRecognizer #416

Merged
merged 1 commit into from Dec 10, 2014

Conversation

@scabanovich
Copy link
Contributor

scabanovich commented Dec 9, 2014

Second contribution to refactoring. Interface methods changed
boolean ITagLibRecognizer.isUsed(ELContext context);
boolean ITagLibRecognizer.isUsed(IFile file);
IHTMLLibraryVersion ITagLibVersionRecognizer.getVersion(ELContext context);
Interface ITagLibVersionRecognizer is implemented by HTMLRecognizer
and IonicRecognizer.

}
return JQueryMobileVersion.JQM_1_4.toString();
}

/**
* Returns the version of JQM declared in the file or null if there is no JQM declaration.
* Returns the default version is the declared one is unknown.
* @param context
* @return
*/

This comment has been minimized.

Copy link
@alexeykazakov

alexeykazakov Dec 9, 2014

Contributor

This javadoc doesn't describe what this method does.

@@ -32,7 +32,7 @@
* @param context
* @return
*/
boolean isUsed(IHTMLLibraryVersion version, ELContext context);
boolean isUsed(ELContext context);

/**
* Returns true if the library with the given version is used in this file.

This comment has been minimized.

Copy link
@alexeykazakov

alexeykazakov Dec 9, 2014

Contributor

We should to change the javadoc since we don't pass any version in this method anymore

Second contribution to refactoring. Interface methods changed
boolean ITagLibRecognizer.isUsed(ELContext context);
boolean ITagLibRecognizer.isUsed(IFile file);
IHTMLLibraryVersion ITagLibVersionRecognizer.getVersion(ELContext context);
Interface ITagLibVersionRecognizer is implemented by HTMLRecognizer
and IonicRecognizer.
@scabanovich scabanovich force-pushed the scabanovich:jbide-18903a branch from 24d6f95 to 96ceeeb Dec 9, 2014
@alexeykazakov alexeykazakov merged commit 96ceeeb into jbosstools:master Dec 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.