From 583cdb86b415d773a62f5c7dff82b019fdcfe400 Mon Sep 17 00:00:00 2001 From: Sascha Szott Date: Tue, 26 Nov 2024 16:18:09 +0100 Subject: [PATCH 1/2] remove obsolete methods --- .../java/org/dspace/browse/BrowseIndex.java | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java b/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java index 0eddfcac9194..d8ed3e563334 100644 --- a/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java +++ b/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java @@ -565,16 +565,6 @@ public String getIndexColumn() { return "id"; } - /** - * Is this browse index type for a title? - * - * @return true if title type, false if not - */ -// public boolean isTitle() -// { -// return "title".equals(getDataType()); -// } - /** * Is the browse index type for a date? * @@ -584,16 +574,6 @@ public boolean isDate() { return "date".equals(getDataType()); } - /** - * Is the browse index type for a plain text type? - * - * @return true if plain text type, false if not - */ -// public boolean isText() -// { -// return "text".equals(getDataType()); -// } - /** * Is the browse index of display type single? * From 63dea8708c10b429080ff6c85470b00006cd9204 Mon Sep 17 00:00:00 2001 From: Sascha Szott Date: Tue, 26 Nov 2024 16:19:41 +0100 Subject: [PATCH 2/2] remove unused methods --- .../java/org/dspace/browse/BrowseIndex.java | 22 ------------------- 1 file changed, 22 deletions(-) diff --git a/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java b/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java index d8ed3e563334..ff6de08583be 100644 --- a/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java +++ b/dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java @@ -543,19 +543,6 @@ public String getDistinctTableName() { return getTableName(false, false, true, false); } - /** - * Get the name of the column that is used to store the default value column - * - * @return the name of the value column - */ - public String getValueColumn() { - if (!isDate()) { - return "sort_text_value"; - } else { - return "text_value"; - } - } - /** * Get the name of the primary key index column * @@ -565,15 +552,6 @@ public String getIndexColumn() { return "id"; } - /** - * Is the browse index type for a date? - * - * @return true if date type, false if not - */ - public boolean isDate() { - return "date".equals(getDataType()); - } - /** * Is the browse index of display type single? *