Skip to content

Commit aab4c07

Browse files
author
Vladimir Kotal
committed
move methods below constructor
1 parent 3499a00 commit aab4c07

File tree

1 file changed

+14
-13
lines changed
  • opengrok-indexer/src/main/java/org/opengrok/indexer/history

1 file changed

+14
-13
lines changed

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

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,6 @@ public class History implements Serializable {
5151
*/
5252
private final Set<String> renamedFiles;
5353

54-
// Needed for serialization
55-
public Map<String, String> getTags() {
56-
return tags;
57-
}
58-
59-
public void setTags(Map<String, String> tags) {
60-
this.tags = tags;
61-
}
62-
63-
public void setEntries(List<HistoryEntry> entries) {
64-
this.entries = entries;
65-
}
66-
6754
// revision to tag list. Individual tags are joined via TAGS_SEPARATOR.
6855
private Map<String, String> tags = new HashMap<>();
6956

@@ -85,6 +72,20 @@ public History() {
8572
this.renamedFiles = renamed;
8673
}
8774

75+
// Needed for serialization.
76+
public Map<String, String> getTags() {
77+
return tags;
78+
}
79+
80+
// Needed for serialization.
81+
public void setTags(Map<String, String> tags) {
82+
this.tags = tags;
83+
}
84+
85+
public void setEntries(List<HistoryEntry> entries) {
86+
this.entries = entries;
87+
}
88+
8889
/**
8990
* Set the list of log entries for the file. The first entry is the most
9091
* recent one.

0 commit comments

Comments
 (0)