Ignore:
Timestamp:
2016-01-04T05:23:45+13:00 (8 years ago)
Author:
Georgiy Litvinov
Message:

Removed unnecessary checks from previous commit

File:
1 edited

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       
Note: See TracChangeset for help on using the changeset viewer.