git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix lib
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
fanfix
/
library
/
RemoteLibrary.java
diff --git
a/src/be/nikiroo/fanfix/library/RemoteLibrary.java
b/src/be/nikiroo/fanfix/library/RemoteLibrary.java
index 6e3380b4a2239a074c26750436f8abc0df368e12..f1ff214d5671f3cf52bc4a82e1472a2d9b9e414f 100644
(file)
--- a/
src/be/nikiroo/fanfix/library/RemoteLibrary.java
+++ b/
src/be/nikiroo/fanfix/library/RemoteLibrary.java
@@
-143,11
+143,11
@@
public class RemoteLibrary extends BasicLibrary {
@Override
protected void onError(Exception e) {
@Override
protected void onError(Exception e) {
-
//
if (e instanceof SSLException) {
- result[0] = Status.UNAUTHORIZED;
-
//
} else {
-
//
result[0] = Status.UNAVAILABLE;
-
//
}
+ if (e instanceof SSLException) {
+
result[0] = Status.UNAUTHORIZED;
+ } else {
+
result[0] = Status.UNAVAILABLE;
+ }
}
}.connect();
} catch (UnknownHostException e) {
}
}.connect();
} catch (UnknownHostException e) {