Skip to content

Commit 7042aa1

Browse files
committed
fixed linter issues
1 parent 873201f commit 7042aa1

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

kotlin/services/neptune/src/main/java/com/example/neptune/scenerio/NeptuneScenario.kt

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -42,33 +42,33 @@ suspend fun main(args: Array<String>) {
4242
val dbInstanceId = "neptuneDB200"
4343

4444
println(
45-
"""
46-
Amazon Neptune is a fully managed AWS graph database optimized for complex, connected datasets.
47-
It supports property graphs (Gremlin, openCypher)
48-
and RDF graphs (SPARQL), making it ideal for knowledge
49-
graphs, fraud detection, social networks,
50-
recommendations, and network management.
51-
52-
Neptune handles provisioning, patching, backups, a
53-
nd replication, offering high availability by default.
45+
"""
46+
Amazon Neptune is a fully managed AWS graph database optimized for complex, connected datasets.
47+
It supports property graphs (Gremlin, openCypher)
48+
and RDF graphs (SPARQL), making it ideal for knowledge
49+
graphs, fraud detection, social networks,
50+
recommendations, and network management.
51+
52+
Neptune handles provisioning, patching, backups, a
53+
nd replication, offering high availability by default.
5454
55-
Developers can build relationship-aware apps using the
56-
AWS SDK for Kotlin and automate infrastructure with
57-
NeptuneClient.
55+
Developers can build relationship-aware apps using the
56+
AWS SDK for Kotlin and automate infrastructure with
57+
NeptuneClient.
5858
59-
Let's get started...
59+
Let's get started...
6060
61-
""".trimIndent(),
61+
""".trimIndent(),
6262
)
6363
waitForInputToContinue(scanner)
6464
runScenario(subnetGroupName, dbInstanceId, clusterName)
6565
println(
66-
"""
67-
Thank you for checking out the Amazon Neptune Service Use demo. We hope you
68-
learned something new, or got some inspiration for your own apps today.
69-
For more AWS code examples, have a look at:
70-
https://docs.aws.amazon.com/code-library/latest/ug/what-is-code-library.html
71-
""".trimIndent(),
66+
"""
67+
Thank you for checking out the Amazon Neptune Service Use demo. We hope you
68+
learned something new, or got some inspiration for your own apps today.
69+
For more AWS code examples, have a look at:
70+
https://docs.aws.amazon.com/code-library/latest/ug/what-is-code-library.html
71+
""".trimIndent(),
7272
)
7373
}
7474

@@ -100,10 +100,10 @@ suspend fun runScenario(subnetGroupName: String, dbInstanceId: String, clusterNa
100100
println(DASHES)
101101
println("4. Check the status of the Neptune DB Instance")
102102
println(
103-
"""
104-
In this step, we will wait until the DB instance
105-
becomes available. This may take around 10 minutes.
106-
""".trimIndent(),
103+
"""
104+
In this step, we will wait until the DB instance
105+
becomes available. This may take around 10 minutes.
106+
""".trimIndent(),
107107
)
108108
waitForInputToContinue(scanner)
109109
checkInstanceStatus(dbInstanceId, "available")
@@ -120,10 +120,10 @@ suspend fun runScenario(subnetGroupName: String, dbInstanceId: String, clusterNa
120120
println(DASHES)
121121
println("6. Stop the Amazon Neptune cluster")
122122
println(
123-
"""
124-
Once stopped, this step polls the status
125-
until the cluster is in a stopped state.
126-
""".trimIndent(),
123+
"""
124+
Once stopped, this step polls the status
125+
until the cluster is in a stopped state.
126+
""".trimIndent(),
127127
)
128128
waitForInputToContinue(scanner)
129129
stopDBCluster(dbClusterId)
@@ -134,11 +134,11 @@ suspend fun runScenario(subnetGroupName: String, dbInstanceId: String, clusterNa
134134
println(DASHES)
135135
println("7. Start the Amazon Neptune cluster")
136136
println(
137-
"""
138-
Once started, this step polls the clusters
139-
status until it's in an available state.
140-
We will also poll the instance status.
141-
""".trimIndent(),
137+
"""
138+
Once started, this step polls the clusters
139+
status until it's in an available state.
140+
We will also poll the instance status.
141+
""".trimIndent(),
142142
)
143143
waitForInputToContinue(scanner)
144144
startDBCluster(dbClusterId)

0 commit comments

Comments
 (0)