diff MakeWaypoints.kt @ 4:45be2d1d3213

Remove trailing whitespace, add warp notes.
author David Barts <n5jrn@me.com>
date Wed, 25 Aug 2021 06:33:31 -0700
parents ab4d4434c37f
children a725bd48bc0b
line wrap: on
line diff
--- a/MakeWaypoints.kt	Wed Aug 25 00:24:30 2021 -0700
+++ b/MakeWaypoints.kt	Wed Aug 25 06:33:31 2021 -0700
@@ -2,7 +2,7 @@
  * Make waypoints. In Kotlin, because the JVM has a uniquely non-sucky
  * way to write XML.
  */
- 
+
 import javax.xml.stream.*
 import java.io.FileOutputStream
 
@@ -14,10 +14,10 @@
         System.err.println("${MYNAME}: expecting a single file name")
         System.exit(2)
     }
-    
+
     println("Enter waypoints below, end with empty line.")
     println()
-    
+
     val outName = args[0]
     val invalid = "${MYNAME}: invalid entry, please try again"
     FileOutputStream(outName).use stream@{
@@ -27,7 +27,7 @@
             writeAttribute("creator", "MakeWaypoints")
             writeAttribute("version", "1.1")
             writeDefaultNamespace("http://www.topografix.com/GPX/1/1")
-            
+
             while (true) {
                 print("Longitude, latitude: ")
                 val longLat = readLine()
@@ -64,5 +64,3 @@
         }
     }
 }
-                
-        
\ No newline at end of file