This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-jcs.git
The following commit(s) were added to refs/heads/master by this push:
new 4a216d8 Use primitive parsing.
4a216d8 is described below
commit 4a216d828005b115a4b8ed20bb7d1b8a7f8a59ff
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Feb 28 18:47:34 2021 -0500
Use primitive parsing.
---
.../java/org/apache/commons/jcs3/access/TestCacheAccess.java | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git
a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/access/TestCacheAccess.java
b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/access/TestCacheAccess.java
index 4617b49..1aa5dca 100644
---
a/commons-jcs-core/src/test/java/org/apache/commons/jcs3/access/TestCacheAccess.java
+++
b/commons-jcs-core/src/test/java/org/apache/commons/jcs3/access/TestCacheAccess.java
@@ -309,7 +309,7 @@ public class TestCacheAccess
}
else if ( tcnt == 3 )
{
- show = Boolean.valueOf( t ).booleanValue();
+ show = Boolean.parseBoolean(t);
}
}
@@ -348,7 +348,7 @@ public class TestCacheAccess
}
else if ( tcnt == 4 )
{
- show = Boolean.valueOf( t ).booleanValue();
+ show = Boolean.parseBoolean(t);
}
}
@@ -403,7 +403,7 @@ public class TestCacheAccess
}
else if ( tcnt == 4 )
{
- show = Boolean.valueOf( t ).booleanValue();
+ show = Boolean.parseBoolean(t);
}
}
@@ -578,7 +578,7 @@ public class TestCacheAccess
}
else if ( tcnt == 4 )
{
- show = Boolean.valueOf( t ).booleanValue();
+ show = Boolean.parseBoolean(t);
}
}
@@ -629,7 +629,7 @@ public class TestCacheAccess
}
else if ( tcnt == 3 )
{
- show = Boolean.valueOf( t ).booleanValue();
+ show = Boolean.parseBoolean(t);
}
}
@@ -679,7 +679,7 @@ public class TestCacheAccess
}
else if ( tcnt == 3 )
{
- show = Boolean.valueOf( t ).booleanValue();
+ show = Boolean.parseBoolean(t);
}
}