Revision 351c2236
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/AbstractFilteredCdmResourceSelectionDialog.java | ||
---|---|---|
494 | 494 |
String pattern = null; |
495 | 495 |
if (control != null){ |
496 | 496 |
pattern = ((Text)control).getText(); |
497 |
if (pattern.equals("*")){ |
|
498 |
callService(null); |
|
499 |
}else if (pattern != null){ |
|
500 |
callService(pattern); |
|
501 |
} |
|
497 | 502 |
} |
498 |
if (pattern.equals("*")){ |
|
499 |
callService(null); |
|
500 |
}else if (pattern != null){ |
|
501 |
callService(pattern); |
|
502 |
} |
|
503 |
|
|
503 | 504 |
// if (pattern.equals("?")){ |
504 | 505 |
// model = CdmStore.getService(INameService.class).getUuidAndTitleCache(null, null); |
505 | 506 |
// }else if (pattern != null){ |
Also available in: Unified diff
fix NPE for first search