Variable updated in src and test files 81/32681/1
authorajay priyadarshi <ajay.priyadarshi@ril.com>
Fri, 23 Feb 2018 12:06:01 +0000 (17:36 +0530)
committerajay priyadarshi <ajay.priyadarshi@ril.com>
Fri, 23 Feb 2018 12:06:01 +0000 (17:36 +0530)
file name: CollectMsgReceiverThread.java, CollectMsgReceiverThreadTest.java

Change-Id: Ic2b6679e254e469a3f25024a9b6b9bdeb6b19af8
Issue-ID: VFC-777
Signed-off-by: ajay priyadarshi <ajay.priyadarshi@ril.com>
ems/boco/src/main/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThread.java
ems/boco/src/test/java/org/onap/vfc/nfvo/emsdriver/collector/CollectMsgReceiverThreadTest.java

index f53a5ed..d3ced48 100644 (file)
@@ -29,14 +29,14 @@ public class CollectMsgReceiverThread extends DriverThread {
 
     private TaskThreadService taskService;
 
-    private int thread_max_num = 100;
+    private int threadMaxNum = 100;
 
 
     @Override
     public void dispose() {
         collectChannel = MessageChannelFactory.getMessageChannel(Constant.COLLECT_CHANNEL_KEY);
 
-        taskService = TaskThreadService.getInstance(thread_max_num);
+        taskService = TaskThreadService.getInstance(threadMaxNum);
         taskService.start();
 
         while (isRun()) {
@@ -71,18 +71,18 @@ public class CollectMsgReceiverThread extends DriverThread {
 
 
     /**
-     * @return the thread_max_num
+     * @return the threadMaxNum
      */
-    public int getThread_max_num() {
-        return thread_max_num;
+    public int getThreadMaxNum() {
+        return threadMaxNum;
     }
 
 
     /**
-     * @param thread_max_num the thread_max_num to set
+     * @param threadMaxNum the threadMaxNum to set
      */
-    public void setThread_max_num(int thread_max_num) {
-        this.thread_max_num = thread_max_num;
+    public void setThreadMaxNum(int threadMaxNum) {
+        this.threadMaxNum = threadMaxNum;
     }
 
 
index c836cf6..a120021 100644 (file)
@@ -46,8 +46,8 @@ public class CollectMsgReceiverThreadTest {
         col.setRun(true);
         col.dispose();
         col.getTaskService().stopTask();
-        col.getThread_max_num();
-        col.setThread_max_num(1);
+        col.getThreadMaxNum();
+        col.setThreadMaxNum(1);
 
     }
     
@@ -67,8 +67,8 @@ public class CollectMsgReceiverThreadTest {
         col.setRun(true);
         col.dispose();
         col.getTaskService().stopTask();
-        col.getThread_max_num();
-        col.setThread_max_num(1);
+        col.getThreadMaxNum();
+        col.setThreadMaxNum(1);
 
     }
 }