Skip to content

Commit e04dadd

Browse files
committed
Silence some warnings from IntelliJ
1 parent b6923fd commit e04dadd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/ingest-common/src/main/java/org/elasticsearch/ingest/common/ConvertProcessor.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,19 +118,19 @@ public Object convert(Object value) {
118118
}
119119
try {
120120
return BOOLEAN.convert(value);
121-
} catch (IllegalArgumentException e) {}
121+
} catch (IllegalArgumentException ignored) {}
122122
try {
123123
return INTEGER.convert(value);
124-
} catch (IllegalArgumentException e) {}
124+
} catch (IllegalArgumentException ignored) {}
125125
try {
126126
return LONG.convert(value);
127-
} catch (IllegalArgumentException e) {}
127+
} catch (IllegalArgumentException ignored) {}
128128
try {
129129
return FLOAT.convert(value);
130-
} catch (IllegalArgumentException e) {}
130+
} catch (IllegalArgumentException ignored) {}
131131
try {
132132
return DOUBLE.convert(value);
133-
} catch (IllegalArgumentException e) {}
133+
} catch (IllegalArgumentException ignored) {}
134134
return value;
135135
}
136136
};

0 commit comments

Comments
 (0)