diff options
author | Vitaly Takmazov | 2018-10-10 09:06:27 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-10-10 09:06:27 +0300 |
commit | 07903dbec6fe386940fe373f778e69a153a28e6f (patch) | |
tree | 081f7dd62f2d7a2974257fb9cb43cec6afd3d15b /juick-common | |
parent | 26c7b4d910165f9a67cbfd6bfea97257ebf33a08 (diff) |
Fix NPE
Diffstat (limited to 'juick-common')
-rw-r--r-- | juick-common/src/main/java/com/juick/util/MessageUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-common/src/main/java/com/juick/util/MessageUtils.java b/juick-common/src/main/java/com/juick/util/MessageUtils.java index 4de68cb9..62616bdf 100644 --- a/juick-common/src/main/java/com/juick/util/MessageUtils.java +++ b/juick-common/src/main/java/com/juick/util/MessageUtils.java @@ -299,7 +299,7 @@ public class MessageUtils { input = input.replace(urlMatcher.group(0), uriComponentsBuilder.build().toUriString()); } } - } catch (IllegalArgumentException e) { + } catch (IllegalArgumentException | NullPointerException e) { return input; } return input; |