mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-10 08:21:21 +00:00
Remove bridge method
This commit is contained in:
committed by
Nathan Vahrenberg
parent
fab848a0d3
commit
ad2990b1b6
@@ -737,7 +737,6 @@ public class GHRepository extends GHObject {
|
||||
*/
|
||||
@Deprecated
|
||||
@Preview(NEBULA)
|
||||
@WithBridgeMethods(value = String.class, adapterMethod = "visibilityAsStr")
|
||||
public Visibility getVisibility() {
|
||||
if (visibility == null) {
|
||||
try {
|
||||
@@ -750,11 +749,6 @@ public class GHRepository extends GHObject {
|
||||
return Visibility.from(visibility);
|
||||
}
|
||||
|
||||
@SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD", justification = "Bridge method of getVisibility")
|
||||
private Object visibilityAsStr(Visibility visibility, Class type) {
|
||||
return visibility;
|
||||
}
|
||||
|
||||
/**
|
||||
* Is template boolean.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user