Revision 8722

View differences:

trunk/applications/appCatalogYNomenclatorClient/src/es/gva/cit/catalogClient/languages/AbstractGeneralLanguage.java
76 76
 */
77 77
    public Iterator parseValues(String line, String titleKeys) {        
78 78
        Vector values = new Vector();
79
            
79
        
80
        if (titleKeys == null){
81
        	titleKeys = "E";
82
        }
83
        
80 84
        if (titleKeys.equals("E")) {
81 85
            values.add(line);
82 86
            return values.iterator();
......
109 113
 * @param titleKeys E,A o Y --> Exact, All, anY
110 114
 */
111 115
    public String getOperator(String titleKeys) {        
112
         if (titleKeys.equals("Y")) {
116
    	if (titleKeys == null){
117
    		titleKeys = "E";
118
    	} 
119
    	if (titleKeys.equals("Y")) {
113 120
            return "Or";
114 121
        } else {
115 122
            return "And";

Also available in: Unified diff