Skip to content

Commit 94538c7

Browse files
author
Anatoliy Bazko
committed
fixup! CHE-127: Load repo button on import from Github takes too much time
1 parent 50d4890 commit 94538c7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • plugins/plugin-github/che-plugin-github-ext-github/src/main/java/org/eclipse/che/ide/ext/github/shared

plugins/plugin-github/che-plugin-github-ext-github/src/main/java/org/eclipse/che/ide/ext/github/shared/GitHubRepository.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*******************************************************************************/
1111
package org.eclipse.che.ide.ext.github.shared;
1212

13+
import org.eclipse.che.commons.annotation.Nullable;
1314
import org.eclipse.che.dto.shared.DTO;
1415

1516
/**
@@ -211,9 +212,12 @@ public interface GitHubRepository {
211212

212213
/**
213214
* Get the repository parent.
215+
* Might return null if user tried to retrieve the full repository list.
216+
* If request was done to retrieve the specific repository then {@link #getParent()} will return none null value.
214217
*
215218
* @return the parent repository.
216219
*/
220+
@Nullable
217221
GitHubRepository getParent();
218222

219223
void setParent(GitHubRepository parent);

0 commit comments

Comments
 (0)