Committed by
Gerrit Code Review
Don't use Boolean constructor
Change-Id: I962e1aed5d9acc3f141bf14a64c0a5af3aa6f4e7
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -32,7 +32,7 @@ public class DefaultTransactionalSet<E> implements TransactionalSet<E> { | ... | @@ -32,7 +32,7 @@ public class DefaultTransactionalSet<E> implements TransactionalSet<E> { |
| 32 | private TransactionalMap<E, Boolean> map; | 32 | private TransactionalMap<E, Boolean> map; |
| 33 | 33 | ||
| 34 | // dummy value to associate with an Object in the backing map | 34 | // dummy value to associate with an Object in the backing map |
| 35 | - private static final Boolean PRESENT = new Boolean(true); | 35 | + private static final Boolean PRESENT = Boolean.TRUE; |
| 36 | 36 | ||
| 37 | public DefaultTransactionalSet( | 37 | public DefaultTransactionalSet( |
| 38 | String name, | 38 | String name, | ... | ... |
-
Please register or login to post a comment