Skip to content

Commit 6fcc8cf

Browse files
committed
Merge branch 'nb100'
2 parents 0a3dd0d + 612c302 commit 6fcc8cf

6 files changed

Lines changed: 11 additions & 8 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ You can get a your OAuth token from the following: Settings > Applications > Per
8080
- [egit-github](https://github.com/eclipse/egit-github)
8181
- [octicons](https://octicons.github.com/)
8282

83+
## Donation
84+
85+
<a href="https://www.patreon.com/junichi11"><img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" height="50"></a>
86+
8387
## License
8488

8589
[Common Development and Distribution License (CDDL) v1.0 and GNU General Public License (GPL) v2](http://netbeans.org/cddl-gplv2.html)

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.junichi11</groupId>
55
<artifactId>netbeans-github-issues</artifactId>
6-
<version>0.3.3</version>
6+
<version>0.4.0</version>
77
<packaging>nbm</packaging>
88
<build>
99
<plugins>
@@ -26,8 +26,8 @@
2626
<artifactId>maven-compiler-plugin</artifactId>
2727
<version>2.5.1</version>
2828
<configuration>
29-
<source>1.7</source>
30-
<target>1.7</target>
29+
<source>1.8</source>
30+
<target>1.8</target>
3131
</configuration>
3232
</plugin>
3333
<plugin>

src/main/java/com/junichi11/netbeans/modules/github/issues/GitHubCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public final class GitHubCache {
8282
// @GuardedBy("this")
8383
private List<User> collaborators;
8484
// @GuardedBy("this")
85-
private final Map<String, List<Milestone>> milestoneMap = Collections.synchronizedMap(new HashMap<String, List<Milestone>>());
85+
private final Map<String, List<Milestone>> milestoneMap = Collections.synchronizedMap(new HashMap<>());
8686
// @GuardedBy("this")
8787
private List<Label> labels;
8888
// @GuardedBy("this")

src/main/java/com/junichi11/netbeans/modules/github/issues/issue/ui/CommentsPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class CommentsPanel extends javax.swing.JPanel implements PropertyChangeL
6161

6262
private static final long serialVersionUID = 3131157719093603387L;
6363

64-
private final List<CommentPanel> commentPanels = Collections.synchronizedList(new ArrayList<CommentPanel>());
64+
private final List<CommentPanel> commentPanels = Collections.synchronizedList(new ArrayList<>());
6565
private CommentPanel quoteCommentPanel;
6666
private CommentPanel deletedCommentPanel;
6767
private CommentPanel editedCommentPanel;

src/main/java/com/junichi11/netbeans/modules/github/issues/issue/ui/GitHubIssuePanel.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@
100100
import org.eclipse.egit.github.core.PullRequestMarker;
101101
import org.eclipse.egit.github.core.RepositoryCommit;
102102
import org.eclipse.egit.github.core.User;
103-
import org.eclipse.egit.github.core.client.IGitHubConstants;
104103
import org.eclipse.egit.github.core.service.IssueService;
105104
import org.netbeans.api.annotations.common.CheckForNull;
106105
import org.openide.DialogDescriptor;

src/main/java/com/junichi11/netbeans/modules/github/issues/repository/GitHubRepository.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ public class GitHubRepository {
110110

111111
// caches
112112
// @GaurdedBy("this")
113-
private final Map<String, GitHubIssue> issueCache = Collections.synchronizedMap(new HashMap<String, GitHubIssue>());
113+
private final Map<String, GitHubIssue> issueCache = Collections.synchronizedMap(new HashMap<>());
114114
// @GaurdedBy("this")
115-
private final Map<String, PullRequest> pullRequestCache = Collections.synchronizedMap(new HashMap<String, PullRequest>());
115+
private final Map<String, PullRequest> pullRequestCache = Collections.synchronizedMap(new HashMap<>());
116116

117117
private Boolean isCollaborator = null;
118118

0 commit comments

Comments
 (0)