Changeset 3606


Ignore:
Timestamp:
2002-12-02T10:39:58+13:00 (21 years ago)
Author:
kjdon
Message:

fixed a bug

File:
1 edited

Legend:

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

    r3605 r3606  
    10341034    }
    10351035    }
    1036     protected String addStemAndCase(String q, String c, String s) {
     1036    protected String addStemAndCase(String q, String s, String c) {
    10371037    String mods = "#";
    1038     if (c=="1") {
     1038    if (c.equals("1")) {
     1039        mods += "i";
     1040    } else {
    10391041        mods += "c";
    10401042    }
    1041     if (s=="1") {
     1043    if (s.equals("1")) {
    10421044        mods += "s";
    1043     }
    1044     if (mods.equals("#")) {
    1045         return q;
     1045    } else {
     1046        mods+= "u";
    10461047    }
    10471048    StringBuffer temp = new StringBuffer();
Note: See TracChangeset for help on using the changeset viewer.