Created
June 8, 2017 14:12
-
-
Save bdionne/bc31201f58f3bcf2b0b4aa3d46759206 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/main/java/org/protege/editor/owl/client/LocalHttpClient.java b/src/main/java/org/protege/editor/owl/client/LocalHttpClient.java | |
index 309444d..d992421 100644 | |
--- a/src/main/java/org/protege/editor/owl/client/LocalHttpClient.java | |
+++ b/src/main/java/org/protege/editor/owl/client/LocalHttpClient.java | |
@@ -672,7 +672,7 @@ public class LocalHttpClient implements Client, ClientSessionListener { | |
} finally { | |
dlg.setVisible(false); | |
} | |
- }).get(); | |
+ }); | |
dlg.setVisible(true); | |
String newChecksum = getSnapshotChecksum(projectId).get(); | |
@@ -691,9 +691,7 @@ public class LocalHttpClient implements Client, ClientSessionListener { | |
} catch (IOException e) { | |
logger.error(e.getMessage(), e); | |
throw new ClientRequestException("Unable to send request to server (see error log for details)", e); | |
- } catch (InterruptedException | ExecutionException e) { | |
- throw new RuntimeException(e); | |
- } | |
+ } | |
} | |
private Response post(String url, RequestBody body, boolean withCredential) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment