MINOR: Removed redundant contant

Fixes #7289
This commit is contained in:
Armin 2017-06-02 09:25:03 +02:00 committed by Armin Braun
parent 46bfec52fe
commit 39a0df1723

View file

@ -9,13 +9,11 @@ public class PathCache {
private FieldReference timestamp; private FieldReference timestamp;
// TODO: dry with Event private static final String BRACKETS_TIMESTAMP = "[" + Event.TIMESTAMP + "]";
public static final String TIMESTAMP = "@timestamp";
public static final String BRACKETS_TIMESTAMP = "[" + TIMESTAMP + "]";
protected PathCache() { protected PathCache() {
// inject @timestamp // inject @timestamp
this.timestamp = cache(TIMESTAMP); this.timestamp = cache(Event.TIMESTAMP);
cache(BRACKETS_TIMESTAMP, this.timestamp); cache(BRACKETS_TIMESTAMP, this.timestamp);
} }