diff options
2 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceRequestImpl.java b/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceRequestImpl.java index 60638d70f9..ee24fca53d 100644 --- a/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceRequestImpl.java +++ b/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceRequestImpl.java @@ -62,7 +62,7 @@ public class ConversationalServiceRequestImpl implements ConversationalService { public void initializeCount(int count) {
calls.append("initializeCount,");
- Integer conversationalCount = new Integer(count);
+ Integer conversationalCount = Integer.valueOf(count);
conversationalState.put(conversationId, conversationalCount);
}
diff --git a/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessImpl.java b/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessImpl.java index ac8e7c8d18..cc02d048b6 100644 --- a/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessImpl.java +++ b/java/sca/itest/conversations/src/main/java/org/apache/tuscany/sca/itest/conversational/impl/ConversationalServiceStatelessImpl.java @@ -62,7 +62,7 @@ public class ConversationalServiceStatelessImpl implements ConversationalService public void initializeCount(int count) {
calls.append("initializeCount,");
- Integer conversationalCount = new Integer(count);
+ Integer conversationalCount = Integer.valueOf(count);
conversationalState.put(conversationId, conversationalCount);
}
|