Add unit test for vfc-nfvo-wfengine
[vfc/nfvo/wfengine.git] / wfenginemgrservice / src / main / java / org / onap / workflow / common / ToolUtil.java
index c148eb3..d24a787 100644 (file)
@@ -1,11 +1,11 @@
 /**\r
- * Copyright (C) 2017 ZTE, Inc. and others. All rights reserved. (ZTE)\r
+ * Copyright 2017 ZTE Corporation.\r
  *\r
  * Licensed under the Apache License, Version 2.0 (the "License");\r
  * you may not use this file except in compliance with the License.\r
  * You may obtain a copy of the License at\r
  *\r
- *         http://www.apache.org/licenses/LICENSE-2.0\r
+ *     http://www.apache.org/licenses/LICENSE-2.0\r
  *\r
  * Unless required by applicable law or agreed to in writing, software\r
  * distributed under the License is distributed on an "AS IS" BASIS,\r
@@ -40,18 +40,6 @@ public class ToolUtil {
     return authHeader;\r
   }\r
   \r
-  public static boolean isEmptyString(String val) {\r
-    return ((val == null || "".equals(val)) ? true : false);\r
-  }\r
-\r
-  public static boolean isTrimedEmptyString(String val) {\r
-    return ((val == null || "".equals(val.trim())) ? true : false);\r
-  }\r
-\r
-  public static boolean isTrimedEmptyArray(String[] val) {\r
-    return ((val == null || val.length == 0) ? true : false);\r
-  }\r
-  \r
   /**\r
    * @param ins\r
    */\r