Skip to content

Commit 9772d61

Browse files
committed
updated example for linter issue
1 parent ae6b4bf commit 9772d61

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

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

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -77,28 +77,29 @@ suspend fun main(args: Array<String>) {
7777

7878
println(
7979
"""
80-
AWS Location Service is a fully managed service offered by Amazon Web Services (AWS) that
81-
provides location-based services for developers. This service simplifies
82-
the integration of location-based features into applications, making it
83-
easier to build and deploy location-aware applications.
84-
85-
The AWS Location Service offers a range of location-based services,
86-
including:
87-
88-
Maps: The service provides access to high-quality maps, satellite imagery,
89-
and geospatial data from various providers, allowing developers to
90-
easily embed maps into their applications.
91-
92-
Tracking: The Location Service enables real-time tracking of mobile devices,
93-
assets, or other entities, allowing developers to build applications
94-
that can monitor the location of people, vehicles, or other objects.
95-
96-
Geocoding: The service provides the ability to convert addresses or
97-
location names into geographic coordinates (latitude and longitude),
98-
and vice versa, enabling developers to integrate location-based search
99-
and routing functionality into their applications.
100-
"""
80+
AWS Location Service is a fully managed service offered by Amazon Web Services (AWS) that
81+
provides location-based services for developers. This service simplifies
82+
the integration of location-based features into applications, making it
83+
easier to build and deploy location-aware applications.
84+
85+
The AWS Location Service offers a range of location-based services,
86+
including:
87+
88+
Maps: The service provides access to high-quality maps, satellite imagery,
89+
and geospatial data from various providers, allowing developers to
90+
easily embed maps into their applications.
91+
92+
Tracking: The Location Service enables real-time tracking of mobile devices,
93+
assets, or other entities, allowing developers to build applications
94+
that can monitor the location of people, vehicles, or other objects.
95+
96+
Geocoding: The service provides the ability to convert addresses or
97+
location names into geographic coordinates (latitude and longitude),
98+
and vice versa, enabling developers to integrate location-based search
99+
and routing functionality into their applications.
100+
""".trimIndent()
101101
)
102+
102103
waitForInputToContinue(scanner)
103104

104105
println(DASHES)
@@ -111,7 +112,8 @@ suspend fun main(args: Array<String>) {
111112
allow users to search for and locate businesses, landmarks, or
112113
other points of interest within a specific region.
113114
114-
""")
115+
"""
116+
)
115117

116118
waitForInputToContinue(scanner)
117119
val mapArn = createMap(mapName)

0 commit comments

Comments
 (0)