aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/command
diff options
context:
space:
mode:
authorEduardo Julian2020-10-09 23:11:38 -0400
committerEduardo Julian2020-10-09 23:11:38 -0400
commitbefa21cea76282f8cd3509e0a7da1bdffd353101 (patch)
tree9f671c8a86ca43bcccb8105a668a271e72ef06ea /stdlib/source/program/aedifex/command
parentbae39f32cddb816a6123697269c20dbf4a65ac19 (diff)
Mandatory long names for JVM imports, instead of having "long" be optional and short be default.
Diffstat (limited to 'stdlib/source/program/aedifex/command')
-rw-r--r--stdlib/source/program/aedifex/command/auto.lux22
-rw-r--r--stdlib/source/program/aedifex/command/build.lux4
2 files changed, 13 insertions, 13 deletions
diff --git a/stdlib/source/program/aedifex/command/auto.lux b/stdlib/source/program/aedifex/command/auto.lux
index cbb76edbb..738cae467 100644
--- a/stdlib/source/program/aedifex/command/auto.lux
+++ b/stdlib/source/program/aedifex/command/auto.lux
@@ -21,37 +21,37 @@
["#." action (#+ Action)]
["#." command (#+ Command)]]])
-(import: #long java/nio/file/WatchKey
+(import: java/nio/file/WatchKey
(reset [] #io boolean))
-(import: #long java/util/concurrent/TimeUnit
+(import: java/util/concurrent/TimeUnit
(#enum SECONDS))
-(import: #long java/nio/file/WatchService
+(import: java/nio/file/WatchService
(poll [long java/util/concurrent/TimeUnit] #io #try #? java/nio/file/WatchKey)
(poll #as fetch [] #io #try #? java/nio/file/WatchKey))
-(import: #long java/nio/file/FileSystem
+(import: java/nio/file/FileSystem
(newWatchService [] #io #try java/nio/file/WatchService))
-(import: #long java/nio/file/FileSystems
+(import: java/nio/file/FileSystems
(#static getDefault [] java/nio/file/FileSystem))
-(import: #long java/lang/Object)
+(import: java/lang/Object)
-(import: #long java/lang/String)
+(import: java/lang/String)
-(import: #long (java/nio/file/WatchEvent$Kind a))
+(import: (java/nio/file/WatchEvent$Kind a))
-(import: #long java/nio/file/StandardWatchEventKinds
+(import: java/nio/file/StandardWatchEventKinds
(#static ENTRY_CREATE (java/nio/file/WatchEvent$Kind java/nio/file/Path))
(#static ENTRY_MODIFY (java/nio/file/WatchEvent$Kind java/nio/file/Path))
(#static ENTRY_DELETE (java/nio/file/WatchEvent$Kind java/nio/file/Path)))
-(import: #long java/nio/file/Path
+(import: java/nio/file/Path
(register [java/nio/file/WatchService [(java/nio/file/WatchEvent$Kind ?)]] #io #try java/nio/file/WatchKey))
-(import: #long java/io/File
+(import: java/io/File
(new [java/lang/String])
(exists [] #io #try boolean)
(isDirectory [] #io #try boolean)
diff --git a/stdlib/source/program/aedifex/command/build.lux b/stdlib/source/program/aedifex/command/build.lux
index f505f1d0a..eb7842e45 100644
--- a/stdlib/source/program/aedifex/command/build.lux
+++ b/stdlib/source/program/aedifex/command/build.lux
@@ -89,10 +89,10 @@
(list.filter (|>> (get@ #///dependency.type) (text@= ///dependency.lux-library)))
(list@map (|>> (get@ #///dependency.artifact) (///local.path file.system)))))
-(import: #long java/lang/String)
+(import: java/lang/String)
## https://docs.oracle.com/javase/tutorial/essential/environment/sysprop.html
-(import: #long java/lang/System
+(import: java/lang/System
(#static getProperty [java/lang/String] #io #? java/lang/String))
(def: #export working-directory