From 18faa5387972c7de5021f24c8c14969d23d0873b Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 22 Apr 2017 20:15:36 +0800 Subject: [PATCH] Corrected Java 1.5 code format problem. --- python/common/org/Python.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/common/org/Python.java b/python/common/org/Python.java index 713ccfac85..d8427b7d58 100644 --- a/python/common/org/Python.java +++ b/python/common/org/Python.java @@ -1752,7 +1752,10 @@ public static org.python.Object zip(org.python.Object item, org.python.types.Tup try { org.python.Iterable it = iters.get(i); tuple.add(it.__next__()); - } catch (IndexOutOfBoundsException | org.python.exceptions.StopIteration e) { + } catch (IndexOutOfBoundsException e) { + flag = true; + break; + } catch (org.python.exceptions.StopIteration e) { flag = true; break; }