Changeset 30360

Show
Ignore:
Timestamp:
04.01.2016 05:23:45 (4 years ago)
Author:
litvinovg
Message:

Removed unnecessary checks from previous commit

Files:
1 modified

Legend:

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

    r30359 r30360  
    546546    { 
    547547        String result = ""; 
    548         if (input != null && input != "") { 
    549             try { 
    550                 result = URLEncoder.encode(input, "UTF-8"); 
    551             } catch (UnsupportedEncodingException e) { 
    552                 e.printStackTrace(); 
    553             } 
     548        try { 
     549            result = URLEncoder.encode(input, "UTF-8"); 
     550        } catch (UnsupportedEncodingException e) { 
     551            e.printStackTrace(); 
     552        } 
    554553         
    555         } 
    556554        return result; 
    557555