Revision 39503 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/extension/FiltroExtension.java
FiltroExtension.java | ||
---|---|---|
350 | 350 |
* @return A boolean value |
351 | 351 |
*/ |
352 | 352 |
private boolean filterExpressionFromWhereIsEmpty(String expression) { |
353 |
|
|
354 |
if (expression == null) { |
|
355 |
return true; |
|
356 |
} |
|
357 |
|
|
353 | 358 |
String subExpression = expression.trim(); |
359 |
|
|
360 |
if (subExpression.length() == 0) { |
|
361 |
return true; |
|
362 |
} |
|
363 |
|
|
354 | 364 |
int pos; |
355 | 365 |
|
356 | 366 |
// Remove last ';' if exists |
Also available in: Unified diff