Skip to content

Commit c1e1c2d

Browse files
author
Vladimir Kotal
committed
reintroduce setTags()
1 parent 057b073 commit c1e1c2d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,13 @@ public void setFiles(SortedSet<String> files) {
178178
this.files = files;
179179
}
180180

181+
/**
182+
* The method is kept only for backward compatibility to avoid warnings when deserializing objects
183+
* from the previous format. The tags were moved to the {@link History} class.
184+
*/
185+
public void setTags(String tags) {
186+
}
187+
181188
@Override
182189
public String toString() {
183190
return String.join(" ",

0 commit comments

Comments
 (0)