mirror of https://github.com/apache/lucene.git
Suppress Warnings.
This commit is contained in:
parent
10608d39c4
commit
7793f8ddae
|
@ -112,7 +112,9 @@ public final class Constants {
|
||||||
if (Float.parseFloat(s[1]) >= version) {
|
if (Float.parseFloat(s[1]) >= version) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
} catch (NumberFormatException e) {
|
} catch (
|
||||||
|
@SuppressWarnings("unused")
|
||||||
|
NumberFormatException e) {
|
||||||
// False for Windows XP, etc.
|
// False for Windows XP, etc.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue