Skip to content

Commit e9bbe31

Browse files
committed
updated example for linter issue
1 parent 6aa13c0 commit e9bbe31

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

kotlin/services/location/src/main/java/com/example/location/scenario/LocationScenario.kt

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -50,18 +50,17 @@ val DASHES = String(CharArray(80)).replace("\u0000", "-")
5050
suspend fun main(args: Array<String>) {
5151
val usage = """
5252
53-
Usage: <mapName> <keyName> <collectionName> <geoId> <trackerName> <calculatorName> <deviceId>
54-
55-
Where:
56-
mapName - The name of the map to create (e.g., "AWSMap").
57-
keyName - The name of the API key to create (e.g., "AWSApiKey").
58-
collectionName - The name of the geofence collection (e.g., "AWSLocationCollection").
59-
geoId - The geographic identifier used for the geofence or map (e.g., "geoId").
60-
trackerName - The name of the tracker (e.g., "geoTracker").
61-
calculatorName - The name of the route calculator (e.g., "AWSRouteCalc").
62-
deviceId - The ID of the device (e.g., "iPhone-112356").
63-
64-
""".trimIndent()
53+
Usage: <mapName> <keyName> <collectionName> <geoId> <trackerName> <calculatorName> <deviceId>
54+
55+
Where:
56+
mapName - The name of the map to create (e.g., "AWSMap").
57+
keyName - The name of the API key to create (e.g., "AWSApiKey").
58+
collectionName - The name of the geofence collection (e.g., "AWSLocationCollection").
59+
geoId - The geographic identifier used for the geofence or map (e.g., "geoId").
60+
trackerName - The name of the tracker (e.g., "geoTracker").
61+
calculatorName - The name of the route calculator (e.g., "AWSRouteCalc").
62+
deviceId - The ID of the device (e.g., "iPhone-112356").
63+
"""
6564

6665
if (args.size != 7) {
6766
println(usage)
@@ -99,7 +98,7 @@ suspend fun main(args: Array<String>) {
9998
and vice versa, enabling developers to integrate location-based search
10099
and routing functionality into their applications.
101100
102-
""".trimIndent()
101+
"""
103102
)
104103
waitForInputToContinue(scanner)
105104

0 commit comments

Comments
 (0)