File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
server/src/main/java/org/elasticsearch/common Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2121
2222import static java .util .Collections .emptyMap ;
2323
24- public class Table {
24+ public final class Table {
2525
2626 private List <Cell > headers = new ArrayList <>();
27- private List <List <Cell >> rows = new ArrayList <>();
28- private Map <String , List <Cell >> map = new HashMap <>();
29- private Map <String , Cell > headerMap = new HashMap <>();
27+ private final List <List <Cell >> rows = new ArrayList <>();
28+ private final Map <String , List <Cell >> map = new HashMap <>();
29+ private final Map <String , Cell > headerMap = new HashMap <>();
3030 private List <Cell > currentCells ;
3131 private boolean inHeaders = false ;
3232 private boolean withTime = false ;
@@ -201,7 +201,7 @@ public Map<String, String> getAliasMap() {
201201 return headerAliasMap ;
202202 }
203203
204- public static class Cell {
204+ public static final class Cell {
205205 public final Object value ;
206206 public final Map <String , String > attr ;
207207
You can’t perform that action at this time.
0 commit comments