lewismc commented on a change in pull request #7: SDAP-35 Overhaul MUDROD 
configuration
URL: 
https://github.com/apache/incubator-sdap-mudrod/pull/7#discussion_r173496774
 
 

 ##########
 File path: 
core/src/main/java/org/apache/sdap/mudrod/weblog/pre/SessionStatistic.java
 ##########
 @@ -82,9 +82,9 @@ public Object execute() {
 
   public void processSession() throws InterruptedException, IOException, 
ExecutionException {
     String processingType = props.getProperty(MudrodConstants.PROCESS_TYPE);
-    if ("sequential".equals(processingType)) {
+    if (processingType.equals("sequential")) {
       processSessionInSequential();
-    } else if ("parallel".equals(processingType)) {
+    } else if (processingType.equals("parallel")) {
 
 Review comment:
   Move string value to right hand side of statement

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to