From: Roland Haeder Date: Fri, 28 Aug 2015 09:50:59 +0000 (+0200) Subject: Use Boolean.TRUE and not primitive true X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bcf88b71cb17083c7de8c2a0018ab829b641d6b6;p=pizzaservice-war.git Use Boolean.TRUE and not primitive true Signed-off-by:Roland Häder --- diff --git a/src/java/org/mxchange/pizzaapplication/database/frontend/product/PizzaProductDatabaseFrontend.java b/src/java/org/mxchange/pizzaapplication/database/frontend/product/PizzaProductDatabaseFrontend.java index 768757dd..4c7dd442 100644 --- a/src/java/org/mxchange/pizzaapplication/database/frontend/product/PizzaProductDatabaseFrontend.java +++ b/src/java/org/mxchange/pizzaapplication/database/frontend/product/PizzaProductDatabaseFrontend.java @@ -201,7 +201,7 @@ public class PizzaProductDatabaseFrontend extends BaseDatabaseFrontend implement SearchableCriteria criteria = new SearchCriteria(); // Add criteria - criteria.addCriteria(ProductFrontend.COLUMN_AVAILABLE, true); + criteria.addCriteria(ProductFrontend.COLUMN_AVAILABLE, Boolean.TRUE); // Run the query Result result = this.getBackend().doSelectByCriteria(criteria);