- 01
 - 02
 - 03
 - 04
 - 05
 - 06
 - 07
 - 08
 - 09
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 - 17
 - 18
 - 19
 - 20
 - 21
 
                        if (srType != null) {
    if (srType.equals("my_requests")) {
        String str;
        String temp = srType.toUpperCase();
        int i = srType.indexOf("_");
        if (i != -1) {
            str = srType;
            str.replace('_', ' ');
            temp.replace('_', ' ');
            str = temp.substring(0, 1) + str.substring(1, i) + " "
                            + temp.substring(i + 1, i + 2)
                            + str.substring(i + 2, str.length());
        } else
            str = temp;
            criteriaNode.setAttribute("type", str);
            criteriaNode.setAttribute("subtype", "currentrequests");
        } else {
            criteriaNode.setAttribute("type", "My Requests");
            criteriaNode.setAttribute("subtype", srType);
        }
}
                                     
        
            Творение вполне известного (по VCS) сумрачного гения из Индии. Видимо замышлялось что-то неимоверное мощное и универсальное.