From 36060a21bd07d10295b6830024ceec4d86ea1312 Mon Sep 17 00:00:00 2001 From: Scott Leberknight <174812+sleberknight@users.noreply.github.com> Date: Sun, 8 Oct 2023 13:42:08 -0400 Subject: [PATCH] Add "see" tags to stringOrNullIfBlank and trimmedStringOrNullIfBlank Forgot to add the "see" references to these methods in KiwiJdbc --- src/main/java/org/kiwiproject/jdbc/KiwiJdbc.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/org/kiwiproject/jdbc/KiwiJdbc.java b/src/main/java/org/kiwiproject/jdbc/KiwiJdbc.java index 87a5e9af..2d4be0bc 100644 --- a/src/main/java/org/kiwiproject/jdbc/KiwiJdbc.java +++ b/src/main/java/org/kiwiproject/jdbc/KiwiJdbc.java @@ -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 { @@ -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 { @@ -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,