Project

General

Profile

« Previous | Next » 

Revision 7767

Added by Jing Tao over 11 years ago

Rename a method to isEnabled.

View differences:

metacat-common/src/main/java/edu/ucsb/nceas/metacat/common/query/EnabledQueryEngines.java
77 77
     * @param engine  the specified engine name.
78 78
     * @return true if the specified name is enabled.
79 79
     */
80
    public boolean ifEnabled(String engine) {
80
    public boolean isEnabled(String engine) {
81 81
        boolean enabled = false;
82 82
        if(engine != null && !engine.trim().equals("") && enabledEngines != null) {
83 83
            for(String name : enabledEngines) {

Also available in: Unified diff