summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-05 12:12:05 +0200
committerNoel Grandin <noel@peralex.com>2014-08-08 09:48:18 +0200
commitd07539ea5e7c2d99e9cc58a00726ecebe56cf018 (patch)
treeebd4e598876850b063f238d1a8bcc6b34cc7b509 /testtools
parenta274d19d116671d67cf63bcc5dc8639e385394d6 (diff)
java: use an empty block rather than an empty statement
Change-Id: I05e60964521d6ec3694483816d91359fb12c8e4b
Diffstat (limited to 'testtools')
-rw-r--r--testtools/qa/cli/CLITest.java2
-rw-r--r--testtools/qa/cliversioning/VersionTestCase.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/testtools/qa/cli/CLITest.java b/testtools/qa/cli/CLITest.java
index 40d2ba0d265a..370e5ebf0dde 100644
--- a/testtools/qa/cli/CLITest.java
+++ b/testtools/qa/cli/CLITest.java
@@ -89,7 +89,7 @@ class Reader extends Thread
try
{
byte[] buf = new byte[1024];
- while (-1 != is.read(buf));
+ while (-1 != is.read(buf)) {}
}
catch (java.io.IOException exc)
{
diff --git a/testtools/qa/cliversioning/VersionTestCase.java b/testtools/qa/cliversioning/VersionTestCase.java
index 7ada72145a60..4112ed318e8e 100644
--- a/testtools/qa/cliversioning/VersionTestCase.java
+++ b/testtools/qa/cliversioning/VersionTestCase.java
@@ -87,7 +87,7 @@ class Reader extends Thread
try
{
byte[] buf = new byte[1024];
- while (-1 != is.read(buf));
+ while (-1 != is.read(buf)) {}
}
catch (java.io.IOException exc)
{