Skip to content

Commit e6ad9fe

Browse files
committed
Keeping Findbugs happy
1 parent 635350c commit e6ad9fe

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package org.kohsuke.github;
22

3+
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
4+
35
import java.io.IOException;
46
import java.util.ArrayList;
57
import java.util.List;
@@ -14,6 +16,7 @@ public class GHTreeBuilder {
1416

1517
private final List<TreeEntry> treeEntries = new ArrayList<TreeEntry>();
1618

19+
@SuppressFBWarnings("URF_UNREAD_FIELD")
1720
private static final class TreeEntry {
1821
private final String path;
1922
private final String mode;

src/test/java/org/kohsuke/github/RepositoryTrafficTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import org.apache.commons.io.IOUtils;
55
import org.junit.Assert;
66
import org.junit.Test;
7+
import org.kohsuke.github.GHRepositoryTraffic.DailyInfo;
78
import org.mockito.Mockito;
89

910
import java.io.IOException;

0 commit comments

Comments
 (0)