Skip to content

Commit ad2990b

Browse files
bitwisemanvahrennd
authored andcommitted
Remove bridge method
1 parent fab848a commit ad2990b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,6 @@ public String toString() {
737737
*/
738738
@Deprecated
739739
@Preview(NEBULA)
740-
@WithBridgeMethods(value = String.class, adapterMethod = "visibilityAsStr")
741740
public Visibility getVisibility() {
742741
if (visibility == null) {
743742
try {
@@ -750,11 +749,6 @@ public Visibility getVisibility() {
750749
return Visibility.from(visibility);
751750
}
752751

753-
@SuppressFBWarnings(value = "UPM_UNCALLED_PRIVATE_METHOD", justification = "Bridge method of getVisibility")
754-
private Object visibilityAsStr(Visibility visibility, Class type) {
755-
return visibility;
756-
}
757-
758752
/**
759753
* Is template boolean.
760754
*

0 commit comments

Comments
 (0)