Skip to content

Commit e913c84

Browse files
fix: linter
1 parent fe540dd commit e913c84

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ Stream<Object[]> query(@Nonnull final String query,
225225
* <p>
226226
* The result stream should be closed after use, you can use try-resource pattern to close it automatically:
227227
* <pre>
228-
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=$host", Map.of("host", "server-a"))) {
228+
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=$host",
229+
* Map.of("host", "server-a"))) {
229230
* rows.forEach(row -&gt; {
230231
* // process row
231232
* })
@@ -244,7 +245,8 @@ Stream<Object[]> query(@Nonnull final String query,
244245
* <p>
245246
* The result stream should be closed after use, you can use try-resource pattern to close it automatically:
246247
* <pre>
247-
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=intel", options)) {
248+
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=intel",
249+
* options)) {
248250
* rows.forEach(row -&gt; {
249251
* // process row
250252
* })
@@ -263,7 +265,8 @@ Stream<Object[]> query(@Nonnull final String query,
263265
* <p>
264266
* The result stream should be closed after use, you can use try-resource pattern to close it automatically:
265267
* <pre>
266-
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=$host", Map.of("host", "server-a"), options)) {
268+
* try (Stream&lt;Map&lt;String, Object&gt;&gt; rows = client.queryRows("select * from cpu where host=$host",
269+
* Map.of("host", "server-a"), options)) {
267270
* rows.forEach(row -&gt; {
268271
* // process row
269272
* })

0 commit comments

Comments
 (0)