Changeset 7288


Ignore:
Timestamp:
2004-05-07T09:33:08+12:00 (20 years ago)
Author:
kjdon
Message:

renamed EXCLAIMATION_CHARACTER to EXCLAMATION_CHARACTER

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfiguration.java

    r6852 r7288  
    15131513        String full_pattern_str = tokenizer.nextToken();
    15141514        // To make life easier I'm going to parse this up now.
    1515         boolean exclusion = (full_pattern_str.substring(1, 2).equals(EXCLAIMATION_CHARACTER));
     1515        boolean exclusion = (full_pattern_str.substring(1, 2).equals(EXCLAMATION_CHARACTER));
    15161516        // Set inclusion/exclusion flag, remove any exclaimation mark and the speech marks
    15171517        if(exclusion) {
     
    16941694    text.append(SPEECH_CHARACTER);
    16951695    if(command_element.getAttribute(TYPE_ATTRIBUTE).equals(EXCLUDE_STR)) {
    1696         text.append(EXCLAIMATION_CHARACTER);
     1696        text.append(EXCLAMATION_CHARACTER);
    16971697    }
    16981698    String content_str = command_element.getAttribute(CONTENT_ATTRIBUTE);
  • trunk/gli/src/org/greenstone/gatherer/util/StaticStrings.java

    r7281 r7288  
    100100    static final public String ESCAPE_PATTERN                             = "\\\\";
    101101    static final public String ESCAPE_STR                                 = "\\";
    102     static final public String EXCLAIMATION_CHARACTER                     = "!";
     102    static final public String EXCLAMATION_CHARACTER                     = "!";
    103103    static final public String EXCLUDE_STR                                = "exclude";
    104104    static final public String EXTENSION_ATTRIBUTE                        = "extension";
Note: See TracChangeset for help on using the changeset viewer.