Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1ce54a7

Browse filesBrowse files
committed
Bug fix in toString()
1 parent 1bfe7dd commit 1ce54a7
Copy full SHA for 1ce54a7

File tree

Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-2
lines changed

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

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHRepository.java
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,7 @@ public Set<URL> getPostCommitHooks() {
10461046
*/
10471047
@SuppressFBWarnings(value = "DMI_COLLECTION_OF_URLS",
10481048
justification = "It causes a performance degradation, but we have already exposed it to the API")
1049+
@SkipFromToString
10491050
private final Set<URL> postCommitHooks = new AbstractSet<URL>() {
10501051
private List<URL> getPostCommitHooks() {
10511052
try {

‎src/test/java/org/kohsuke/github/AppTest.java

Copy file name to clipboardExpand all lines: src/test/java/org/kohsuke/github/AppTest.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,9 +860,9 @@ public void notifications() throws Exception {
860860
*/
861861
@Test
862862
public void checkToString() throws Exception {
863-
GHUser u = gitHub.getUser("jenkinsci");
863+
GHUser u = gitHub.getUser("rails");
864864
System.out.println(u);
865-
GHRepository r = u.getRepository("jenkins");
865+
GHRepository r = u.getRepository("rails");
866866
System.out.println(r);
867867
System.out.println(r.getIssue(1));
868868
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.