Skip to content

Commit

Permalink
remove unused exception
Browse files Browse the repository at this point in the history
  • Loading branch information
vladak committed Nov 11, 2022
1 parent 64277f2 commit c101828
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,19 +200,17 @@ private boolean useAnnotationCache() {
* Get a string with information about the history cache.
*
* @return a free form text string describing the history cache instance
* @throws HistoryException if an error occurred while getting the info
*/
public String getHistoryCacheInfo() throws HistoryException {
public String getHistoryCacheInfo() {
return historyCache == null ? "No history cache" : historyCache.getInfo();
}

/**
* Get a string with information about the annotation cache.
*
* @return a free form text string describing the history cache instance
* @throws HistoryException if an error occurred while getting the info
*/
public String getAnnotationCacheInfo() throws HistoryException {
public String getAnnotationCacheInfo() {
return annotationCache == null ? "No annotation cache" : annotationCache.getInfo();
}

Expand Down

0 comments on commit c101828

Please sign in to comment.