Skip to content

Commit

Permalink
Remove unused openConnection
Browse files Browse the repository at this point in the history
  • Loading branch information
pfn committed Sep 30, 2015
1 parent 8683b32 commit 5add1ce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/UpdateChecker.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package android

import java.io.{StringWriter, InputStreamReader}
import java.nio.charset.Charset
import java.io.StringWriter

import argonaut._, Argonaut._
import sbt.{IO, Using, Logger}
Expand All @@ -14,7 +13,6 @@ object UpdateChecker {
"https://api.bintray.com/packages/pfn/sbt-plugins/android-sdk-plugin")
def apply(log: Logger): Unit = {
Future {
val uc = bintray.openConnection()
Using.urlReader(IO.utf8)(bintray) { in =>
val sw = new StringWriter
val buf = Array.ofDim[Char](8192)
Expand Down

0 comments on commit 5add1ce

Please sign in to comment.