Skip to content

Commit

Permalink
Merge pull request DSpace#10051 from saschaszott/saschaszott-patch-3
Browse files Browse the repository at this point in the history
Code Cleanup in BrowseIndex
  • Loading branch information
tdonohue authored Dec 2, 2024
2 parents fc544a8 + 63dea87 commit c90e993
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions dspace-api/src/main/java/org/dspace/browse/BrowseIndex.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand All @@ -565,35 +552,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?
*
* @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?
*
Expand Down

0 comments on commit c90e993

Please sign in to comment.