Revision 39503
branches/v2_0_0_prep/extensions/org.gvsig.app.document.table.app/org.gvsig.app.document.table.app.mainplugin/src/main/java/org/gvsig/app/extension/FiltroExtension.java | ||
---|---|---|
177 | 177 |
* @return A boolean value |
178 | 178 |
*/ |
179 | 179 |
private boolean filterExpressionFromWhereIsEmpty(String expression) { |
180 |
|
|
181 |
if (expression == null) { |
|
182 |
return true; |
|
183 |
} |
|
184 |
|
|
180 | 185 |
String subExpression = expression.trim(); |
186 |
|
|
187 |
if (subExpression.length() == 0) { |
|
188 |
return true; |
|
189 |
} |
|
190 |
|
|
181 | 191 |
int pos; |
182 | 192 |
|
183 | 193 |
// Remove last ';' if exists |
branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/extension/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