1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-24 04:02:07 +03:00
Files
okhttp/okhttp-protocols
Guillaume Legrand 32a716667d Fix unresolved function call on JVM < 1.7
This notably allows the mockwebserver project to be run on Android.
ServerSocket only implements Closeable since Java 1.7 and thus calling of
closeQuietly(Closeable) with a ServerSocket argument fails when running
on Java 1.5 or 1.6 JVMs. This is the same as is already done for
closeQuietly(Socket).
2013-10-08 15:39:21 +02:00
..