File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Filter options
src/main/java/org/kohsuke/github Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Original file line number Diff line number Diff line change @@ -486,9 +486,8 @@ public Set<String> getCollaboratorNames() throws IOException {
486
486
* @throws FileNotFoundException under some conditions (e.g., private repo you can see but are not an admin of); treat as unknown
487
487
* @throws HttpException with a 403 under other conditions (e.g., public repo you have no special rights to); treat as unknown
488
488
*/
489
- @ Deprecated @ Preview
490
489
public GHPermissionType getPermission (String user ) throws IOException {
491
- GHPermission perm = root .retrieve ().withPreview ( KORRA ). to (getApiTailUrl ("collaborators/" + user + "/permission" ), GHPermission .class );
490
+ GHPermission perm = root .retrieve ().to (getApiTailUrl ("collaborators/" + user + "/permission" ), GHPermission .class );
492
491
perm .wrapUp (root );
493
492
return perm .getPermissionType ();
494
493
}
@@ -498,7 +497,6 @@ public GHPermissionType getPermission(String user) throws IOException {
498
497
* @throws FileNotFoundException under some conditions (e.g., private repo you can see but are not an admin of); treat as unknown
499
498
* @throws HttpException with a 403 under other conditions (e.g., public repo you have no special rights to); treat as unknown
500
499
*/
501
- @ Deprecated @ Preview
502
500
public GHPermissionType getPermission (GHUser u ) throws IOException {
503
501
return getPermission (u .getLogin ());
504
502
}
Original file line number Diff line number Diff line change 7
7
static final String LOKI = "application/vnd.github.loki-preview+json" ;
8
8
static final String DRAX = "application/vnd.github.drax-preview+json" ;
9
9
static final String SQUIRREL_GIRL = "application/vnd.github.squirrel-girl-preview" ;
10
- static final String KORRA = "application/vnd.github.korra-preview" ;
11
10
}
You can’t perform that action at this time.
0 commit comments