diff options
author | Eduardo Julian | 2020-10-09 23:11:38 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-10-09 23:11:38 -0400 |
commit | befa21cea76282f8cd3509e0a7da1bdffd353101 (patch) | |
tree | 9f671c8a86ca43bcccb8105a668a271e72ef06ea /stdlib/source/program/aedifex/upload.lux | |
parent | bae39f32cddb816a6123697269c20dbf4a65ac19 (diff) |
Mandatory long names for JVM imports, instead of having "long" be optional and short be default.
Diffstat (limited to 'stdlib/source/program/aedifex/upload.lux')
-rw-r--r-- | stdlib/source/program/aedifex/upload.lux | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/program/aedifex/upload.lux b/stdlib/source/program/aedifex/upload.lux index 8b849ed10..c4572de9d 100644 --- a/stdlib/source/program/aedifex/upload.lux +++ b/stdlib/source/program/aedifex/upload.lux @@ -42,32 +42,32 @@ "." (get@ #//dependency.type dependency))) -(import: #long java/lang/AutoCloseable +(import: java/lang/AutoCloseable (close [] #io #try void)) -(import: #long java/io/OutputStream +(import: java/io/OutputStream (flush [] #io #try void) (write [[byte]] #io #try void)) -(import: #long java/lang/String) +(import: java/lang/String) -(import: #long java/net/URLConnection +(import: java/net/URLConnection (setDoOutput [boolean] #io #try void) (setRequestProperty [java/lang/String java/lang/String] #io #try void) (getOutputStream [] #io #try java/io/OutputStream)) -(import: #long java/net/HttpURLConnection +(import: java/net/HttpURLConnection (setRequestMethod [java/lang/String] #io #try void) (getResponseCode [] #io #try int)) -(import: #long java/net/URL +(import: java/net/URL (new [java/lang/String]) (openConnection [] #io #try java/net/URLConnection)) -(import: #long java/util/Base64$Encoder +(import: java/util/Base64$Encoder (encodeToString [[byte]] java/lang/String)) -(import: #long java/util/Base64 +(import: java/util/Base64 (#static getEncoder [] java/util/Base64$Encoder)) (exception: #export (failure {code Int}) |