diff options
author | zhangab <zhanganbing@chinamobile.com> | 2018-04-23 17:51:09 +0800 |
---|---|---|
committer | zhangab <zhanganbing@chinamobile.com> | 2018-04-23 17:51:16 +0800 |
commit | 45e1f95014548aa05120d2c304b0b920b46e79e3 (patch) | |
tree | d88e0cfdea54f98e7b226a799ff4f17d2bac08dd /usecaseui-common/src/main/java/org/onap/portal/system/CommonUtil.java | |
parent | d698af153772ca4351ad3b23fbb987fc749890af (diff) |
delete useless java code
Change-Id: I9732a97e9e3fedda48eb32c476393d8617349275
Issue-ID: USECASEUI-103
Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-common/src/main/java/org/onap/portal/system/CommonUtil.java')
-rw-r--r-- | usecaseui-common/src/main/java/org/onap/portal/system/CommonUtil.java | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/usecaseui-common/src/main/java/org/onap/portal/system/CommonUtil.java b/usecaseui-common/src/main/java/org/onap/portal/system/CommonUtil.java deleted file mode 100644 index 122f983d..00000000 --- a/usecaseui-common/src/main/java/org/onap/portal/system/CommonUtil.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright 2016-2017 ZTE Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.portal.system; - -public class CommonUtil { - - public static boolean isEmpty(String str) { - if (null == str || "".equals(str.trim())) { - return true; - } else { - return false; - } - } -} |