Skip to content

Commit c101828

Browse files
committed
remove unused exception
1 parent 64277f2 commit c101828

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/HistoryGuru.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,19 +200,17 @@ private boolean useAnnotationCache() {
200200
* Get a string with information about the history cache.
201201
*
202202
* @return a free form text string describing the history cache instance
203-
* @throws HistoryException if an error occurred while getting the info
204203
*/
205-
public String getHistoryCacheInfo() throws HistoryException {
204+
public String getHistoryCacheInfo() {
206205
return historyCache == null ? "No history cache" : historyCache.getInfo();
207206
}
208207

209208
/**
210209
* Get a string with information about the annotation cache.
211210
*
212211
* @return a free form text string describing the history cache instance
213-
* @throws HistoryException if an error occurred while getting the info
214212
*/
215-
public String getAnnotationCacheInfo() throws HistoryException {
213+
public String getAnnotationCacheInfo() {
216214
return annotationCache == null ? "No annotation cache" : annotationCache.getInfo();
217215
}
218216

0 commit comments

Comments
 (0)