Fix concureny issues in test code
[vfc/nfvo/driver/vnfm/svnfm.git] / nokiav2 / driver / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / nokia / util / SystemFunctions.java
index 87a4d56..51d76ac 100644 (file)
@@ -57,7 +57,7 @@ public class SystemFunctions {
             Thread.sleep(millis);
         } catch (InterruptedException e) {
             Thread.currentThread().interrupt();
-            throw new UserInvisibleError("Interrupted while sleep", e);
+            throw new UserInvisibleError("Interrupted while sleeping", e);
         }
     }
 
@@ -166,7 +166,7 @@ public class SystemFunctions {
      * @param clazz the main source of the Spring application
      * @return a new Spring application
      */
-    public SpringApplication newSpringApplication(Class clazz){
+    public SpringApplication newSpringApplication(Class clazz) {
         return new SpringApplication(clazz);
     }
 }
\ No newline at end of file