summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java')
-rw-r--r--qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java b/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java
index edafcccd5f9c..8f167de4fd3d 100644
--- a/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java
+++ b/qadevOOo/tests/java/mod/_simreg/SimpleRegistry.java
@@ -79,8 +79,9 @@ public class SimpleRegistry extends TestCase {
byte[] buf = new byte[1024] ;
int bytesRead = 0 ;
- while ((bytesRead = fIn.read(buf)) > 0)
+ while ((bytesRead = fIn.read(buf)) > 0) {
fOut.write(buf, 0, bytesRead) ;
+ }
fIn.close() ;
fOut.close() ;