File tree Expand file tree Collapse file tree
src/main/java/com/junichi11/netbeans/modules/github/issues Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171import 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 ) {
Original file line number Diff line number Diff line change 4646import org .openide .util .ImageUtilities ;
4747
4848/**
49+ * Icons.
4950 *
5051 * @author junichi11
5152 */
You can’t perform that action at this time.
0 commit comments