@@ -79,12 +79,12 @@ public User createImprintUser() {
7979 UserMessage msg = (UserMessage ) o ;
8080 long taskId = msg .getTaskId ();
8181 task = taskService .findById (taskId );
82- logMsg = "Sucessfully finished task " +taskType +"via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER ;
82+ logMsg = "Sucessfully finished task " +taskType +" via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER ;
8383 taskService .done (logMsg , task , countedEntities );
8484 log .info (logMsg );
8585 return msg .getUser ();
8686 } else {
87- logMsg = "Finished with Error: task " +taskType +"via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER +": Wrong type of returnedMessage" ;
87+ logMsg = "Finished with Error: task " +taskType +" via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER +": Wrong type of returnedMessage" ;
8888 taskService .finalError (task ,logMsg ,countedEntities );
8989 log .error (logMsg );
9090 return null ;
@@ -94,7 +94,7 @@ public User createImprintUser() {
9494 @ Override
9595 public List <User > createTestDataForUser () {
9696 TaskType taskType = TaskType .CONTROLLER_GET_TESTDATA_USER ;
97- String logMsg = "Start task " +taskType +"via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER ;
97+ String logMsg = "Start task " +taskType +" via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER ;
9898 log .info (logMsg );
9999 CountedEntities countedEntities = countedEntitiesService .countAll ();
100100 Task task = taskService .create ("Start via MQ" , taskType , countedEntities );
@@ -112,12 +112,12 @@ public List<User> createTestDataForUser() {
112112 UserResultList result = (UserResultList ) o ;
113113 long taskId = result .getTaskId ();
114114 task = taskService .findById (taskId );
115- logMsg = "Sucessfully finished task " +taskType +"via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER ;
115+ logMsg = "Sucessfully finished task " +taskType +" via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER ;
116116 taskService .done (logMsg , task , countedEntities );
117117 log .info (logMsg );
118118 return result .getUserList ();
119119 } else {
120- logMsg = "Finished with Error: task " +taskType +"via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER +": Wrong type of returnedMessage" ;
120+ logMsg = "Finished with Error: task " +taskType +" via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER +": Wrong type of returnedMessage" ;
121121 taskService .finalError (task ,logMsg ,countedEntities );
122122 log .error (logMsg );
123123 return new ArrayList <>();
@@ -127,7 +127,7 @@ public List<User> createTestDataForUser() {
127127 @ Override
128128 public List <Tweet > createTestDataForTweets () {
129129 TaskType taskType = TaskType .CONTROLLER_GET_TESTDATA_TWEETS ;
130- String logMsg = "Start task " +taskType +"via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER ;
130+ String logMsg = "Start task " +taskType +" via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER ;
131131 log .info (logMsg );
132132 CountedEntities countedEntities = countedEntitiesService .countAll ();
133133 Task task = taskService .create ("Start via MQ by Scheduler " , taskType , countedEntities );
@@ -145,12 +145,12 @@ public List<Tweet> createTestDataForTweets() {
145145 TweetResultList result = (TweetResultList ) o ;
146146 long taskId = result .getTaskId ();
147147 task = taskService .findById (taskId );
148- logMsg = "Sucessfully finished task " +taskType +"via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER ;
148+ logMsg = "Sucessfully finished task " +taskType +" via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER ;
149149 taskService .done (logMsg , task , countedEntities );
150150 log .info (logMsg );
151151 return result .getTweetList ();
152152 } else {
153- logMsg = "Finished with Error: task " +taskType +"via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER +": Wrong type of returnedMessage" ;
153+ logMsg = "Finished with Error: task " +taskType +" via MQ by " + SenderType .SEND_AND_WAIT_FOR_RESULT_SENDER +": Wrong type of returnedMessage" ;
154154 taskService .finalError (task ,logMsg ,countedEntities );
155155 log .error (logMsg );
156156 return new ArrayList <>();
0 commit comments