Skip to content

Commit 78ace1a

Browse files
committed
Fix typo
Fix dependenciesSuplier => dependenciesSupplier
1 parent 8ec45d3 commit 78ace1a

File tree

1 file changed

+5
-5
lines changed
  • src/main/java/com/github/omribromberg/elasticsearch/datemath/formatter

1 file changed

+5
-5
lines changed

src/main/java/com/github/omribromberg/elasticsearch/datemath/formatter/FieldSymbol.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ public enum FieldSymbol {
4949
private static final Collection<FieldSymbol> SECONDS = Collections.singletonList(s);
5050

5151
private final TemporalField field;
52-
private final Supplier<Collection<FieldSymbol>> dependenciesSuplier;
52+
private final Supplier<Collection<FieldSymbol>> dependenciesSupplier;
5353

54-
FieldSymbol(TemporalField field, Supplier<Collection<FieldSymbol>> dependenciesSuplier) {
54+
FieldSymbol(TemporalField field, Supplier<Collection<FieldSymbol>> dependenciesSupplier) {
5555
this.field = field;
56-
this.dependenciesSuplier = dependenciesSuplier;
56+
this.dependenciesSupplier = dependenciesSupplier;
5757
}
5858

5959
public static FieldSymbol of(char symbol) {
@@ -97,10 +97,10 @@ private static Collection<FieldSymbol> SECONDS() {
9797
}
9898

9999
public boolean checkDependencies(Collection<FieldSymbol> fields) {
100-
if (Objects.isNull(dependenciesSuplier))
100+
if (Objects.isNull(dependenciesSupplier))
101101
return true;
102102

103-
final Collection<FieldSymbol> dependencies = dependenciesSuplier.get();
103+
final Collection<FieldSymbol> dependencies = dependenciesSupplier.get();
104104

105105
if (Objects.isNull(dependencies))
106106
return true;

0 commit comments

Comments
 (0)