@@ -208,7 +208,7 @@ private boolean isErrorUrl(Uri uri) {
208208 }
209209
210210 private boolean isMainUrl (Uri loadingUrl ) {
211- return ( bridge .getServerUrl () == null && loadingUrl .getHost ().equalsIgnoreCase (bridge .getHost () ));
211+ return bridge .getServerUrl () == null && loadingUrl .getHost ().equalsIgnoreCase (bridge .getHost ());
212212 }
213213
214214 private boolean isAllowedUrl (Uri loadingUrl ) {
@@ -709,31 +709,31 @@ private InputStream getInputStream() {
709709 @ Override
710710 public int available () throws IOException {
711711 InputStream is = getInputStream ();
712- return ( is != null ) ? is .available () : -1 ;
712+ return is != null ? is .available () : -1 ;
713713 }
714714
715715 @ Override
716716 public int read () throws IOException {
717717 InputStream is = getInputStream ();
718- return ( is != null ) ? is .read () : -1 ;
718+ return is != null ? is .read () : -1 ;
719719 }
720720
721721 @ Override
722722 public int read (byte [] b ) throws IOException {
723723 InputStream is = getInputStream ();
724- return ( is != null ) ? is .read (b ) : -1 ;
724+ return is != null ? is .read (b ) : -1 ;
725725 }
726726
727727 @ Override
728728 public int read (byte [] b , int off , int len ) throws IOException {
729729 InputStream is = getInputStream ();
730- return ( is != null ) ? is .read (b , off , len ) : -1 ;
730+ return is != null ? is .read (b , off , len ) : -1 ;
731731 }
732732
733733 @ Override
734734 public long skip (long n ) throws IOException {
735735 InputStream is = getInputStream ();
736- return ( is != null ) ? is .skip (n ) : 0 ;
736+ return is != null ? is .skip (n ) : 0 ;
737737 }
738738 }
739739
0 commit comments