diff --git a/src/main/java/com/spotify/github/v3/activity/events/CreateEvent.java b/src/main/java/com/spotify/github/v3/activity/events/CreateEvent.java index 384784ad..f3ef02dd 100644 --- a/src/main/java/com/spotify/github/v3/activity/events/CreateEvent.java +++ b/src/main/java/com/spotify/github/v3/activity/events/CreateEvent.java @@ -47,7 +47,6 @@ public interface CreateEvent extends BaseEvent { String masterBranch(); /** The repository's current description. */ - @Nullable Optional description(); /** No doc found on github - Usually is "user". */ diff --git a/src/main/java/com/spotify/github/v3/activity/events/PushEvent.java b/src/main/java/com/spotify/github/v3/activity/events/PushEvent.java index b6f2690a..06d33cb8 100644 --- a/src/main/java/com/spotify/github/v3/activity/events/PushEvent.java +++ b/src/main/java/com/spotify/github/v3/activity/events/PushEvent.java @@ -93,7 +93,6 @@ public interface PushEvent { List commits(); /** The push commit object of the most recent commit on ref after the push. */ - @Nullable Optional headCommit(); /** Pusher */ diff --git a/src/main/java/com/spotify/github/v3/activity/events/StatusEvent.java b/src/main/java/com/spotify/github/v3/activity/events/StatusEvent.java index a43123d1..35d0a1fd 100644 --- a/src/main/java/com/spotify/github/v3/activity/events/StatusEvent.java +++ b/src/main/java/com/spotify/github/v3/activity/events/StatusEvent.java @@ -66,7 +66,6 @@ public interface StatusEvent extends BaseEvent, UpdateTracking { String context(); /** The optional human-readable description added to the status. */ - @Nullable Optional description(); /** The new state. Can be pending, success, failure, or error. */ diff --git a/src/main/java/com/spotify/github/v3/issues/Issue.java b/src/main/java/com/spotify/github/v3/issues/Issue.java index c1d77819..6e663624 100644 --- a/src/main/java/com/spotify/github/v3/issues/Issue.java +++ b/src/main/java/com/spotify/github/v3/issues/Issue.java @@ -48,11 +48,9 @@ public interface Issue extends CloseTracking { URI url(); /** Events URL. */ - @Nullable Optional eventsUrl(); /** Repository URL. */ - @Nullable Optional repositoryUrl(); /** Labels URL template. */ @@ -80,7 +78,6 @@ public interface Issue extends CloseTracking { String title(); /** The contents of the issue. */ - @Nullable Optional body(); /** User. */ diff --git a/src/main/java/com/spotify/github/v3/prs/Review.java b/src/main/java/com/spotify/github/v3/prs/Review.java index 7e5e4747..e2ec2361 100644 --- a/src/main/java/com/spotify/github/v3/prs/Review.java +++ b/src/main/java/com/spotify/github/v3/prs/Review.java @@ -51,7 +51,6 @@ public interface Review { User user(); /** Body. */ - @Nullable Optional body(); /** Submitted at. */ diff --git a/src/main/java/com/spotify/github/v3/repos/RepositoryInvitation.java b/src/main/java/com/spotify/github/v3/repos/RepositoryInvitation.java index 01c6fd2e..6802aaf1 100644 --- a/src/main/java/com/spotify/github/v3/repos/RepositoryInvitation.java +++ b/src/main/java/com/spotify/github/v3/repos/RepositoryInvitation.java @@ -61,7 +61,6 @@ public interface RepositoryInvitation { ZonedDateTime createdAt(); /** Whether or not the invitation has expired */ - @Nullable Optional expired(); /** API URL */