Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
Fix nullaway
Browse files Browse the repository at this point in the history
  • Loading branch information
jplock committed Dec 2, 2017
1 parent c99759d commit 76451e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import java.time.Duration;
import java.time.ZonedDateTime;
import java.util.Objects;
import javax.annotation.Nullable;
import javax.annotation.concurrent.Immutable;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
Expand Down Expand Up @@ -58,6 +59,7 @@ public ZonedDateTime getTimestamp() {
return timestamp;
}

@Nullable
@JsonIgnore
public Duration getDelayDuration() {
if (timestamp == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.junit.Test;
import io.dropwizard.testing.junit.DropwizardClientRule;

public class PIpelineClientTest {
public class PipelineClientTest {

@Path("/events")
public static class EventResource {
Expand Down

0 comments on commit 76451e2

Please sign in to comment.