diff options
author | 2017-04-06 16:20:54 +0000 | |
---|---|---|
committer | 2017-04-06 16:20:54 +0000 | |
commit | 5fedaea41630b553c68b60a6442e703f11ea12f3 (patch) | |
tree | 509b0fa32a70295cf606499262b7ac2884fb9552 /sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/utils/GeneralUtility.java | |
parent | 6e74314df1333835c319ed167ff16fba204c5e42 (diff) | |
parent | 9fc2ad8285866c5d45391f9c9f4f49a87a36763a (diff) |
Merge "[SDC-8] implementing the tosca stubs"
Diffstat (limited to 'sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/utils/GeneralUtility.java')
-rw-r--r-- | sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/utils/GeneralUtility.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/utils/GeneralUtility.java b/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/utils/GeneralUtility.java new file mode 100644 index 0000000..e4d92f5 --- /dev/null +++ b/sdc-tosca-parser/src/main/java/org/openecomp/sdc/tosca/parser/utils/GeneralUtility.java @@ -0,0 +1,8 @@ +package org.openecomp.sdc.tosca.parser.utils; + +public class GeneralUtility { + + public static boolean isEmptyString(String str){ + return str == null || str.trim().isEmpty(); + } +} |