Skip to content

Commit 574f6a4

Browse files
committed
added non null annotation
1 parent 44b861d commit 574f6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ public GHApp getApp(@Nonnull String slug) throws IOException {
12121212
* "https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#create-a-github-app-from-a-manifest">Get an
12131213
* app</a>
12141214
*/
1215-
public GHAppFromManifest createAppFromManifest(String code) throws IOException {
1215+
public GHAppFromManifest createAppFromManifest(@Nonnull String code) throws IOException {
12161216
return createRequest().method("POST")
12171217
.withUrlPath("/app-manifests/" + code + "/conversions")
12181218
.fetch(GHAppFromManifest.class);

0 commit comments

Comments
 (0)