Gentoo Archives: gentoo-commits

From: "Johann Schmitz (ercpe)" <ercpe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/flute/files: 1.3-rename-enum.patch
Date: Mon, 07 Jul 2014 07:03:51
Message-Id: 20140707070347.499A12004F@flycatcher.gentoo.org
1 ercpe 14/07/07 07:03:47
2
3 Added: 1.3-rename-enum.patch
4 Log:
5 Fixed bug #515788; bumped to EAPI=5
6
7 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 77C501ED)
8
9 Revision Changes Path
10 1.1 dev-java/flute/files/1.3-rename-enum.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/flute/files/1.3-rename-enum.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/flute/files/1.3-rename-enum.patch?rev=1.1&content-type=text/plain
14
15 Index: 1.3-rename-enum.patch
16 ===================================================================
17 diff --git a/flute-1.3/org/w3c/flute/parser/Parser.java b/flute-1.3/org/w3c/flute/parser/Parser.java
18 index 3048834..55fec8b 100644
19 --- a/flute-1.3/org/w3c/flute/parser/Parser.java
20 +++ b/flute-1.3/org/w3c/flute/parser/Parser.java
21 @@ -3497,8 +3497,8 @@ Token language;
22 jj_expentry[i] = jj_lasttokens[i];
23 }
24 boolean exists = false;
25 - for (java.util.Enumeration enum = jj_expentries.elements(); enum.hasMoreElements();) {
26 - int[] oldentry = (int[])(enum.nextElement());
27 + for (java.util.Enumeration enumeration = jj_expentries.elements(); enumeration.hasMoreElements();) {
28 + int[] oldentry = (int[])(enumeration.nextElement());
29 if (oldentry.length == jj_expentry.length) {
30 exists = true;
31 for (int i = 0; i < jj_expentry.length; i++) {