This is an automated email from the ASF dual-hosted git repository.
gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
The following commit(s) were added to refs/heads/develop by this push:
new b979a87 Syntax fix for -source 1.6
b979a87 is described below
commit b979a87530d222e2b90961602b3f1e074e25d7ec
Author: greg-dove <[email protected]>
AuthorDate: Mon Feb 10 17:40:44 2020 +1300
Syntax fix for -source 1.6
---
compiler/src/main/java/org/apache/royale/utils/ArrayLikeUtil.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/src/main/java/org/apache/royale/utils/ArrayLikeUtil.java
b/compiler/src/main/java/org/apache/royale/utils/ArrayLikeUtil.java
index 5f01496..c1da300 100644
--- a/compiler/src/main/java/org/apache/royale/utils/ArrayLikeUtil.java
+++ b/compiler/src/main/java/org/apache/royale/utils/ArrayLikeUtil.java
@@ -317,7 +317,7 @@ public class ArrayLikeUtil
IForLoopNode[] forLoops = searchScope.getLoopChecks(true);
List<IForLoopNode> forLoopList = Arrays.asList(forLoops);
boolean importAdded = false;
- ArrayList<String> usedIterators = new ArrayList<>();
+ ArrayList<String> usedIterators = new ArrayList<String>();
for (IForLoopNode loopNode : forLoopList) {
int depth = 0;
IASNode nodeCheck = loopNode;