Skip to content

Commit a45fd20

Browse files
committed
Fix JavaDocs
1 parent dfaad4d commit a45fd20

2 files changed

Lines changed: 15 additions & 2 deletions

File tree

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
import org.netbeans.api.annotations.common.NonNull;
7272

7373
/**
74+
* Cached data via GitHub API.
7475
*
7576
* @author junichi11
7677
*/
@@ -149,7 +150,7 @@ public synchronized List<User> getCollaborators() {
149150
}
150151

151152
/**
152-
* Get milestones.
153+
* Get milestones. If there is a cache, it is returned.
153154
*
154155
* @return milestones
155156
*/
@@ -185,7 +186,7 @@ public synchronized List<Milestone> getMilestones(boolean force) {
185186
}
186187

187188
/**
188-
* Get labels.
189+
* Get labels. If there is a cache, it is returned.
189190
*
190191
* @return labels
191192
*/
@@ -315,10 +316,21 @@ public synchronized List<RepositoryBranch> getBranches(boolean force) {
315316
return branches;
316317
}
317318

319+
/**
320+
* Get forks for a repository. If there is a cache, it is returned.
321+
*
322+
* @return forks
323+
*/
318324
public List<Repository> getForks() {
319325
return getForks(false);
320326
}
321327

328+
/**
329+
* Get forks for a repository.
330+
*
331+
* @param force {@code true} if don't use the cache, otherwise {@code false}
332+
* @return forks
333+
*/
322334
public synchronized List<Repository> getForks(boolean force) {
323335
if (forks == null || force) {
324336
if (forks != null) {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
import org.openide.util.ImageUtilities;
4747

4848
/**
49+
* Icons.
4950
*
5051
* @author junichi11
5152
*/

0 commit comments

Comments
 (0)