Changeset 4010


Ignore:
Timestamp:
2003-03-27T10:11:13+12:00 (21 years ago)
Author:
kjdon
Message:

changed String == to .equals :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GATEServices.java

    r4006 r4010  
    157157    while (param != null) {
    158158        // Identify the annotation types desired
    159         if (param.getAttribute(GSXML.NAME_ATT) == "annotationType") {
     159        if (param.getAttribute(GSXML.NAME_ATT).equals("annotationType")) {
    160160        String annotationType = GSXML.getValue(param);
    161161        System.out.println("Annotation type: " + annotationType);
Note: See TracChangeset for help on using the changeset viewer.