mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -07:00
Not used.
This commit is contained in:
parent
c485eb610b
commit
6f9223e034
1 changed files with 0 additions and 5 deletions
|
@ -1,6 +1,5 @@
|
|||
package com.beust.kobalt.maven
|
||||
|
||||
import com.google.common.io.ByteStreams
|
||||
import com.google.inject.assistedinject.Assisted
|
||||
import java.io.*
|
||||
import java.net.HttpURLConnection
|
||||
|
@ -18,10 +17,6 @@ public class Kurl @Inject constructor(@Assisted val url: String, val http: Http)
|
|||
|
||||
val exists : Boolean
|
||||
get() {
|
||||
if (url.contains("android")) {
|
||||
println("DONOTCOMMIT")
|
||||
}
|
||||
|
||||
val result =
|
||||
if (connection is HttpURLConnection) {
|
||||
(connection as HttpURLConnection).responseCode == 200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue