diff --git a/pg-index-health-model/src/main/java/io/github/mfvanek/pg/model/index/UnusedIndex.java b/pg-index-health-model/src/main/java/io/github/mfvanek/pg/model/index/UnusedIndex.java index 959646cd..656b5c16 100644 --- a/pg-index-health-model/src/main/java/io/github/mfvanek/pg/model/index/UnusedIndex.java +++ b/pg-index-health-model/src/main/java/io/github/mfvanek/pg/model/index/UnusedIndex.java @@ -85,6 +85,7 @@ public static UnusedIndex of(@Nonnull final String tableName, * @param tableName the name of the table associated with the index, must be non-null * @param indexName the name of the index, must be non-null * @return a new {@code UnusedIndex} instance + * @since 0.14.3 */ @Nonnull public static UnusedIndex of(@Nonnull final String tableName, diff --git a/pg-index-health-model/src/main/java/io/github/mfvanek/pg/model/settings/ParamNameAware.java b/pg-index-health-model/src/main/java/io/github/mfvanek/pg/model/settings/ParamNameAware.java index e06feeb0..33156386 100644 --- a/pg-index-health-model/src/main/java/io/github/mfvanek/pg/model/settings/ParamNameAware.java +++ b/pg-index-health-model/src/main/java/io/github/mfvanek/pg/model/settings/ParamNameAware.java @@ -12,9 +12,17 @@ import javax.annotation.Nonnull; +/** + * Represents an entity that is aware of its parameter name. + */ @SuppressWarnings("WeakerAccess") public interface ParamNameAware { + /** + * Retrieves the name of the parameter. + * + * @return the name of the parameter, never {@code null} + */ @Nonnull String getName(); }