Merge pull request #10051 from saschaszott/saschaszott-patch-3

Code Cleanup in BrowseIndex
This commit is contained in:
Tim Donohue
2024-12-02 09:05:59 -06:00
committed by GitHub

View File

@@ -543,19 +543,6 @@ public class BrowseIndex {
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,35 +552,6 @@ public class BrowseIndex {
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?
*
* @return true if date type, false if not
*/
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?
*