Skip to content

Commit 1f5421e

Browse files
fix: linter
1 parent 260d4a0 commit 1f5421e

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/main/java/com/influxdb/v3/client/InfluxDBClient.java

+6-3
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,8 @@ Stream<Object[]> query(@Nonnull final String query,
205205
* <p>
206206
* The result stream should be closed after use, you can use try-resource pattern to close it automatically:
207207
* <pre>
208-
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=$host", Map.of("host", "server-a"))) {
208+
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=$host",
209+
* Map.of("host", "server-a"))) {
209210
* rows.forEach(row -&gt; {
210211
* // process row
211212
* })
@@ -224,7 +225,8 @@ Stream<Object[]> query(@Nonnull final String query,
224225
* <p>
225226
* The result stream should be closed after use, you can use try-resource pattern to close it automatically:
226227
* <pre>
227-
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=intel", options)) {
228+
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=intel",
229+
* options)) {
228230
* rows.forEach(row -&gt; {
229231
* // process row
230232
* })
@@ -243,7 +245,8 @@ Stream<Object[]> query(@Nonnull final String query,
243245
* <p>
244246
* The result stream should be closed after use, you can use try-resource pattern to close it automatically:
245247
* <pre>
246-
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=$host", Map.of("host", "server-a"), options)) {
248+
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=$host",
249+
* Map.of("host", "server-a"), options)) {
247250
* rows.forEach(row -&gt; {
248251
* // process row
249252
* })

0 commit comments

Comments
 (0)