Skip to content

Commit 33dea39

Browse files
Merge pull request googlemaps#370 from domesticmouse/master
Adding required import, and googleJavaFormat
2 parents 6daaa17 + 13e0d2b commit 33dea39

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/google/maps/internal/OkHttpPendingResult.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
import okhttp3.OkHttpClient;
4646
import okhttp3.Request;
4747
import okhttp3.Response;
48+
import okhttp3.ResponseBody;
4849
import org.joda.time.DateTime;
4950
import org.joda.time.Instant;
5051
import org.joda.time.LocalTime;
@@ -222,7 +223,7 @@ private T parseResponse(OkHttpPendingResult<T, R> request, Response response)
222223

223224
byte[] bytes;
224225
try (ResponseBody body = response.body()) {
225-
bytes = body.bytes();
226+
bytes = body.bytes();
226227
}
227228
R resp;
228229
String contentType = response.header("Content-Type");

0 commit comments

Comments
 (0)