Skip to content

Commit 235eb0b

Browse files
add isNotBlank to StringTools
1 parent a87d314 commit 235eb0b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sqldev/src/main/java/org/utplsql/sqldev/model/StringTools.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,8 @@ public static double elapsedTime(String startDateTime, String endDateTime) {
109109
return (end - start) / 1000;
110110
}
111111

112+
public static boolean isNotBlank(String value) {
113+
return value != null && !value.trim().isEmpty();
114+
}
115+
112116
}

0 commit comments

Comments
 (0)