You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/11/21 02:56:20 UTC
[commons-chain] branch master updated: No need to initialize to
default value.
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-chain.git
The following commit(s) were added to refs/heads/master by this push:
new b3850f3 No need to initialize to default value.
b3850f3 is described below
commit b3850f32547b0c2e9ea4dbcfd4b8dfae7221785e
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Nov 20 21:56:15 2020 -0500
No need to initialize to default value.
---
.../test/java/org/apache/commons/chain2/impl/ContextBaseTestCase.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/base/src/test/java/org/apache/commons/chain2/impl/ContextBaseTestCase.java b/base/src/test/java/org/apache/commons/chain2/impl/ContextBaseTestCase.java
index 7a2318f..911f1df 100644
--- a/base/src/test/java/org/apache/commons/chain2/impl/ContextBaseTestCase.java
+++ b/base/src/test/java/org/apache/commons/chain2/impl/ContextBaseTestCase.java
@@ -84,7 +84,7 @@ public class ContextBaseTestCase {
@Test
public void testAttributes() {
- Object value = null;
+ Object value;
checkAttributeCount(0);
context.put("foo", "This is foo");