Project

General

Profile

« Previous | Next » 

Revision 44663

more code cleaning

View differences:

CQLQueryGeneration.java
30 30

  
31 31
    }
32 32

  
33
    public static void appendKeywords(StringBuilder stringBuilder, String keywords) {
34
        if (keywords != null && !keywords.trim().isEmpty()) {
35
            stringBuilder.append(" ").append(Operator.AND).append(" (").append(keywords).append(")");
36
        }
37
    }
38

  
33 39
    public static void appendSimpleTerm(StringBuilder stringBuilder, Operator queryOperator, String termValue) {
34 40
        stringBuilder.append(' ').append(queryOperator).append(" (").append(termValue).append(')');
35 41
    }

Also available in: Unified diff