Skip to content

Commit

Permalink
Add "see" tags to stringOrNullIfBlank and trimmedStringOrNullIfBlank
Browse files Browse the repository at this point in the history
Forgot to add the "see" references to these methods in KiwiJdbc
  • Loading branch information
sleberknight committed Oct 8, 2023
1 parent f0e6c29 commit 36060a2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/java/org/kiwiproject/jdbc/KiwiJdbc.java
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@ public static boolean booleanFromInt(ResultSet rs, String columnName, BooleanCon
* @param columnName the date column name
* @return the String value, or {@code null} if the column was blank or {@code NULL}
* @throws SQLException if there is any error getting the value from the database
* @see #trimmedStringOrNullIfBlank(ResultSet, String)
* @see #stringOrNullIfBlank(ResultSet, String, StringTrimOption)
*/
@Nullable
public static String stringOrNullIfBlank(ResultSet rs, String columnName) throws SQLException {
Expand All @@ -387,6 +389,8 @@ public static String stringOrNullIfBlank(ResultSet rs, String columnName) throws
* @return the String with leading and trailing whitespace removed, or {@code null} if the
* column was blank or {@code NULL}
* @throws SQLException if there is any error getting the value from the database
* @see #stringOrNullIfBlank(ResultSet, String)
* @see #stringOrNullIfBlank(ResultSet, String, StringTrimOption)
*/
@Nullable
public static String trimmedStringOrNullIfBlank(ResultSet rs, String columnName) throws SQLException {
Expand Down Expand Up @@ -418,6 +422,8 @@ public enum StringTrimOption {
* @param option how to handle leading and trailing whitespace
* @return the String with the specified trim option applied, or {@code null} if the column was blank or {@code NULL}
* @throws SQLException if there is any error getting the value from the database
* @see #stringOrNullIfBlank(ResultSet, String)
* @see #trimmedStringOrNullIfBlank(ResultSet, String)
*/
@Nullable
public static String stringOrNullIfBlank(ResultSet rs,
Expand Down

0 comments on commit 36060a2

Please sign in to comment.