]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
Use Boolean.TRUE and not primitive true
authorRoland Haeder <roland@mxchange.org>
Fri, 28 Aug 2015 09:50:59 +0000 (11:50 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 28 Aug 2015 09:50:59 +0000 (11:50 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/java/org/mxchange/pizzaapplication/database/frontend/product/PizzaProductDatabaseFrontend.java

index 768757dd105293406deb6dabc57b578e36d8ae7c..4c7dd442e8ad6529af235dbfe7d13864852da35c 100644 (file)
@@ -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<? extends Storeable> result = this.getBackend().doSelectByCriteria(criteria);