diff options
author | Martin Fietz <martin.fietz@gmail.com> | 2018-01-14 18:00:21 +0100 |
---|---|---|
committer | Martin Fietz <martin.fietz@gmail.com> | 2018-01-14 18:00:21 +0100 |
commit | 55e2ac4ebe0ce8b58a70159253587bf098b8910b (patch) | |
tree | 80ad03a4b8437909a1ee9327bf45b3246140ef23 /app/src | |
parent | 01fa0a56ea7e156ff2ad0fcc78a45554767619a0 (diff) | |
download | AntennaPod-55e2ac4ebe0ce8b58a70159253587bf098b8910b.zip |
Remove redundant calls to toString()
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/androidTest/java/de/test/antennapod/util/service/download/NanoHTTPD.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/androidTest/java/de/test/antennapod/util/service/download/NanoHTTPD.java b/app/src/androidTest/java/de/test/antennapod/util/service/download/NanoHTTPD.java index 8f155dd0b..ea91c4832 100644 --- a/app/src/androidTest/java/de/test/antennapod/util/service/download/NanoHTTPD.java +++ b/app/src/androidTest/java/de/test/antennapod/util/service/download/NanoHTTPD.java @@ -858,7 +858,7 @@ public abstract class NanoHTTPD { this.tempFileManager = tempFileManager; this.inputStream = new PushbackInputStream(inputStream, BUFSIZE); this.outputStream = outputStream; - String remoteIp = inetAddress.isLoopbackAddress() || inetAddress.isAnyLocalAddress() ? "127.0.0.1" : inetAddress.getHostAddress().toString(); + String remoteIp = inetAddress.isLoopbackAddress() || inetAddress.isAnyLocalAddress() ? "127.0.0.1" : inetAddress.getHostAddress(); headers = new ArrayMap<>(); headers.put("remote-addr", remoteIp); |