Skip to content

Commit

Permalink
updated xtend gen file
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed May 14, 2024
1 parent 6cc978f commit d3c35d7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1363,13 +1363,13 @@ protected void _toJavaLiteral(final JvmDoubleAnnotationValue it, final ITreeAppe
_switchResult = "Double.NaN";
}
if (!_matched) {
if (com.google.common.base.Objects.equal(it_1, Double.POSITIVE_INFINITY)) {
if (Objects.equals(it_1, Double.POSITIVE_INFINITY)) {
_matched=true;
_switchResult = "Double.POSITIVE_INFINITY";
}
}
if (!_matched) {
if (com.google.common.base.Objects.equal(it_1, Double.NEGATIVE_INFINITY)) {
if (Objects.equals(it_1, Double.NEGATIVE_INFINITY)) {
_matched=true;
_switchResult = "Double.NEGATIVE_INFINITY";
}
Expand All @@ -1393,13 +1393,13 @@ protected void _toJavaLiteral(final JvmFloatAnnotationValue it, final ITreeAppen
_switchResult = "Float.NaN";
}
if (!_matched) {
if (com.google.common.base.Objects.equal(it_1, Float.POSITIVE_INFINITY)) {
if (Objects.equals(it_1, Float.POSITIVE_INFINITY)) {
_matched=true;
_switchResult = "Float.POSITIVE_INFINITY";
}
}
if (!_matched) {
if (com.google.common.base.Objects.equal(it_1, Float.NEGATIVE_INFINITY)) {
if (Objects.equals(it_1, Float.NEGATIVE_INFINITY)) {
_matched=true;
_switchResult = "Float.NEGATIVE_INFINITY";
}
Expand Down

0 comments on commit d3c35d7

Please sign in to comment.