You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by GitBox <gi...@apache.org> on 2022/04/18 21:49:59 UTC

[GitHub] [db-jdo] clr-apache commented on a diff in pull request #43: Fix Java Warnings

clr-apache commented on code in PR #43:
URL: https://github.com/apache/db-jdo/pull/43#discussion_r852426056


##########
tck/src/main/java/org/apache/jdo/tck/pc/fieldtypes/FieldsOfBoolean.java:
##########
@@ -36,7 +36,7 @@ public class FieldsOfBoolean {
   private transient Boolean Boolean12;
   private transient Boolean Boolean13;
   private transient Boolean Boolean14;
-  private final Boolean Boolean15 = new Boolean(false);
+  private final Boolean Boolean15 = Boolean.valueOf(false);

Review Comment:
   It's not important, but instead of Boolean.valueOf(false) you could just use Boolean.FALSE. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jdo-dev-unsubscribe@db.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org