X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=auth%2Fauth-hello%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Faaf%2Fauth%2Fhello%2Ftest%2FHelloTester.java;h=e85431d31caf68c2274ec4d33fae642260dafc7c;hb=7e966914050e66219689001ff4ab601a49eef0ac;hp=f41826d90be129bde0b4307a909beb63cd4a8003;hpb=ead32f193586e39b59bb366bddf70e665173a52d;p=aaf%2Fauthz.git diff --git a/auth/auth-hello/src/test/java/org/onap/aaf/auth/hello/test/HelloTester.java b/auth/auth-hello/src/test/java/org/onap/aaf/auth/hello/test/HelloTester.java index f41826d9..e85431d3 100644 --- a/auth/auth-hello/src/test/java/org/onap/aaf/auth/hello/test/HelloTester.java +++ b/auth/auth-hello/src/test/java/org/onap/aaf/auth/hello/test/HelloTester.java @@ -46,7 +46,7 @@ public class HelloTester { try { Define.set(access); String uriPrefix = access.getProperty("locatorURI",null); - if(uriPrefix==null) { + if (uriPrefix==null) { System.out.println("You must add \"locatorURI=\" to the command line or VM_Args"); } else { SecurityInfoC si = SecurityInfoC.instance(access, HttpURLConnection.class); @@ -57,12 +57,12 @@ public class HelloTester { String pathinfo = "/hello"; final int iterations = Integer.parseInt(access.getProperty("iterations","5")); System.out.println("Calling " + loc + " with Path " + pathinfo + ' ' + iterations + " time" + (iterations==1?"":"s")); - for(int i=0;i () { @Override public Void code(Rcli client) throws CadiException, ConnectException, APIException { Future fs = client.read("/hello","text/plain"); - if(fs.get(5000)) { + if (fs.get(5000)) { System.out.print(fs.body()); } else { System.err.println("Ooops, missed one: " + fs.code() + ": " + fs.body());