Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmoten committed Sep 23, 2021
1 parent e3b3e19 commit 11bd42c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -19,6 +19,8 @@

public final class ClientMain {

private static final boolean TEST_CHUNKED = false;

public static void main(String[] args)
throws InterruptedException, FileNotFoundException, IOException {
String regionName = "ap-southeast-2";
Expand Down Expand Up @@ -255,7 +257,7 @@ public static void main(String[] args)
}
{
// test chunked response
if (false) {
if (TEST_CHUNKED) {
try (ResponseInputStream in = s3
.path("moten-fixes", "Neo4j_Graph_Algorithms_r3.mobi")
.responseInputStream()) {
Expand Down
Expand Up @@ -3,7 +3,6 @@
import java.io.File;
import java.text.DecimalFormat;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.List;

import org.davidmoten.kool.Statistics;
Expand Down Expand Up @@ -160,7 +159,6 @@ public void testStaticFields2() {
}

private static void reportRequestTimeStats(String name, int index) {
DecimalFormat df = new DecimalFormat("0.000");
lines("src/test/resources/one-time-link-hourly-store-request-times.txt") //
.map(line -> line.split("\\s+")) //
.map(items -> Double.parseDouble(items[index])) //
Expand Down

0 comments on commit 11bd42c

Please sign in to comment.