Skip to content

Commit

Permalink
checkstyle - replace "!" with explicit "== false"
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Kophs committed Feb 20, 2022
1 parent c849b93 commit f225fcf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public boolean isSupportedBy(TemporalAccessor temporal) {
@Override
public long getFrom(TemporalAccessor temporal) {
long millis = temporal.getLong(ChronoField.INSTANT_SECONDS) * 1_000;
if (millis >= 0 || !temporal.isSupported(ChronoField.NANO_OF_SECOND)) {
if (millis >= 0 || temporal.isSupported(ChronoField.NANO_OF_SECOND) == false) {
return millis + temporal.getLong(ChronoField.MILLI_OF_SECOND);
} else {
long nanos = temporal.getLong(ChronoField.NANO_OF_SECOND);
Expand Down

0 comments on commit f225fcf

Please sign in to comment.