Restored signature of the previous enableProtection() method

This commit is contained in:
Kohsuke Kawaguchi
2017-09-08 14:13:21 -07:00
parent 46b89a48db
commit 2f8c3997f7
3 changed files with 42 additions and 4 deletions

View File

@@ -3,8 +3,11 @@ package org.kohsuke.github;
import java.util.Locale;
/**
* This was added during preview API period but it has changed since then.
*
* @author Kohsuke Kawaguchi
*/
@Deprecated
public enum EnforcementLevel {
OFF, NON_ADMINS, EVERYONE;