Skip to content

Commit d68318b

Browse files
committed
Add UNKNOWN value for nested GHTeam enums where missing.
1 parent eb2577e commit d68318b

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/main/java/org/kohsuke/github/GHTeam.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ public enum Role {
4545
*/
4646
MAINTAINER,
4747
/** A normal member of the team. */
48-
MEMBER
48+
MEMBER,
49+
/** Unknown role. */
50+
UNKNOWN
4951
}
5052

5153
/**
@@ -59,7 +61,11 @@ public enum NotificationSetting {
5961
/**
6062
* No one receives notifications.
6163
*/
62-
NOTIFICATIONS_DISABLED
64+
NOTIFICATIONS_DISABLED,
65+
/**
66+
* Unknown notification setting.
67+
*/
68+
UNKNOWN
6369
}
6470

6571
/**

0 commit comments

Comments
 (0)