From 80e61a5c6c9f6e16ac3d45b06ed2de7b3433af86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Ha=C3=9Fel?= Date: Wed, 11 Sep 2024 15:59:26 +0200 Subject: [PATCH] code clean --- .../app/pages/property/list/property-list.component.html | 8 ++++---- .../de/ph87/homeautomation/RepositorySearchHelper.java | 1 - 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/angular/src/app/pages/property/list/property-list.component.html b/src/main/angular/src/app/pages/property/list/property-list.component.html index 0c26f07..a97ac45 100644 --- a/src/main/angular/src/app/pages/property/list/property-list.component.html +++ b/src/main/angular/src/app/pages/property/list/property-list.component.html @@ -2,10 +2,6 @@ - -
- -
- @@ -98,3 +94,7 @@
Bezeichnung
+ +
+ +
diff --git a/src/main/java/de/ph87/homeautomation/RepositorySearchHelper.java b/src/main/java/de/ph87/homeautomation/RepositorySearchHelper.java index 35d660e..c8d4783 100644 --- a/src/main/java/de/ph87/homeautomation/RepositorySearchHelper.java +++ b/src/main/java/de/ph87/homeautomation/RepositorySearchHelper.java @@ -23,7 +23,6 @@ public class RepositorySearchHelper { .replaceAll("([A-Z])([A-Z])", "$1 $2") .replaceAll("([a-z])([A-Z])", "$1 $2") .toLowerCase(Locale.ROOT); - System.out.println(term2); final List predicates = Arrays.stream(term2.split("\\s")) .filter(word -> !word.isEmpty()) .map(word -> criteriaBuilder.like(field, "%" + word + "%"))