Skip to content
Snippets Groups Projects

update: upgrade to Quarkus 3.15 LTS and latest commons lib

Merged Martin Lowe requested to merge malowe/main/q-3.15-update into main
3 files
+ 10
14
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -76,7 +76,7 @@ public class TrademarkResources {
q.setUseLimit(false);
// get the cached data
Optional<List<TrademarkData>> out = cache.get("all", params, Trademark.class, () -> mapTrademarkData(dao.get(q))).getData();
Optional<List<TrademarkData>> out = cache.get("all", params, Trademark.class, () -> mapTrademarkData(dao.get(q))).data();
if (out.isEmpty() || out.get().isEmpty()) {
throw new NotFoundException("No trademarks found for current parameters");
}
@@ -107,7 +107,7 @@ public class TrademarkResources {
// get the cached data
Optional<List<TrademarkData>> out = cache
.get("category:" + category, params, Trademark.class, () -> mapTrademarkData(dao.get(q)))
.getData();
.data();
if (out.isEmpty() || out.get().isEmpty()) {
throw new NotFoundException("No trademarks found for current parameters");
}
Loading