Skip to content

Commit

Permalink
Remove UI loader in few places not annoying user in case bad network …
Browse files Browse the repository at this point in the history
…connection (eclipse-che#6035)

Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
  • Loading branch information
vparfonov committed Aug 17, 2017
1 parent ce41b4a commit 96acc83
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ public Promise<List<ProjectConfigDto>> getProjects() {

return reqFactory.createGetRequest(url)
.header(ACCEPT, MimeType.APPLICATION_JSON)
.loader(loaderFactory.newLoader("Getting projects..."))
.send(unmarshaller.newListUnmarshaller(ProjectConfigDto.class));
}

Expand Down Expand Up @@ -211,7 +210,6 @@ public Promise<String> getFileContent(Path path) {
final String url = encodeAllowEscapes(getBaseUrl() + FILE + path(path.toString()));

return reqFactory.createGetRequest(url)
.loader(loaderFactory.newLoader("Loading file content..."))
.send(new StringUnmarshaller());
}

Expand All @@ -222,7 +220,6 @@ public Promise<Void> setFileContent(Path path, String content) {

return reqFactory.createRequest(PUT, url, null, false)
.data(content)
.loader(loaderFactory.newLoader("Updating file..."))
.send();
}

Expand Down

0 comments on commit 96acc83

Please sign in to comment.