Changeset 24117

Show
Ignore:
Timestamp:
07.06.2011 17:09:46 (8 years ago)
Author:
sjm84
Message:

Fixed a problem with using OIDType incremental on the dev/oran skin

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/XSLTUtil.java

    r23968 r24117  
    279279    public static String hashToSectionId(String hashString) 
    280280    { 
    281         if(hashString == null || hashString.length() == 0 || !hashString.startsWith("HASH")) {return "";} 
     281        if(hashString == null || hashString.length() == 0) {return "";} 
    282282         
    283283        int firstDotIndex = hashString.indexOf("."); 
     
    294294    public static String hashToDepthClass(String hashString) 
    295295    { 
    296         if(hashString == null || hashString.length() == 0 || !hashString.startsWith("HASH")) {return "";} 
     296        if(hashString == null || hashString.length() == 0) {return "";} 
    297297         
    298298        String sectionString = hashToSectionId(hashString);