code clean
This commit is contained in:
parent
4ade9787db
commit
80e61a5c6c
@ -2,10 +2,6 @@
|
|||||||
<td class="empty">-</td>
|
<td class="empty">-</td>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<div class="config">
|
|
||||||
<button (click)="create()">+ Hinzufügen</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Bezeichnung</th>
|
<th>Bezeichnung</th>
|
||||||
@ -98,3 +94,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<div class="config">
|
||||||
|
<button (click)="create()">+ Hinzufügen</button>
|
||||||
|
</div>
|
||||||
|
|||||||
@ -23,7 +23,6 @@ public class RepositorySearchHelper {
|
|||||||
.replaceAll("([A-Z])([A-Z])", "$1 $2")
|
.replaceAll("([A-Z])([A-Z])", "$1 $2")
|
||||||
.replaceAll("([a-z])([A-Z])", "$1 $2")
|
.replaceAll("([a-z])([A-Z])", "$1 $2")
|
||||||
.toLowerCase(Locale.ROOT);
|
.toLowerCase(Locale.ROOT);
|
||||||
System.out.println(term2);
|
|
||||||
final List<Predicate> predicates = Arrays.stream(term2.split("\\s"))
|
final List<Predicate> predicates = Arrays.stream(term2.split("\\s"))
|
||||||
.filter(word -> !word.isEmpty())
|
.filter(word -> !word.isEmpty())
|
||||||
.map(word -> criteriaBuilder.like(field, "%" + word + "%"))
|
.map(word -> criteriaBuilder.like(field, "%" + word + "%"))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user