From b1c1d4bca333706c56c48913a94eb14be84af6ed Mon Sep 17 00:00:00 2001 From: brinn <brinn> Date: Sun, 30 Sep 2007 17:13:50 +0000 Subject: [PATCH] minor: use new-style for loop SVN: 1870 --- .../source/java/ch/systemsx/cisd/datamover/DataMover.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datamover/source/java/ch/systemsx/cisd/datamover/DataMover.java b/datamover/source/java/ch/systemsx/cisd/datamover/DataMover.java index 55ba2cedc88..07e4961cb46 100644 --- a/datamover/source/java/ch/systemsx/cisd/datamover/DataMover.java +++ b/datamover/source/java/ch/systemsx/cisd/datamover/DataMover.java @@ -118,9 +118,9 @@ public class DataMover public boolean terminate() { boolean ok = true; - for (int i = 0; i < terminables.length; i++) + for (ITerminable terminable : terminables) { - ok = ok && terminables[i].terminate(); + ok = ok && terminable.terminate(); } return ok; } -- GitLab