commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1158984 - /commons/proper/codec/branches/generics/src/java/org/apache/commons/codec/language/bm/Rule.java
Date Thu, 18 Aug 2011 01:28:59 GMT
Author: ggregory
Date: Thu Aug 18 01:28:58 2011
New Revision: 1158984

URL: http://svn.apache.org/viewvc?rev=1158984&view=rev
Log:
Port change from trunk by Sebb.

Modified:
    commons/proper/codec/branches/generics/src/java/org/apache/commons/codec/language/bm/Rule.java

Modified: commons/proper/codec/branches/generics/src/java/org/apache/commons/codec/language/bm/Rule.java
URL: http://svn.apache.org/viewvc/commons/proper/codec/branches/generics/src/java/org/apache/commons/codec/language/bm/Rule.java?rev=1158984&r1=1158983&r2=1158984&view=diff
==============================================================================
--- commons/proper/codec/branches/generics/src/java/org/apache/commons/codec/language/bm/Rule.java
(original)
+++ commons/proper/codec/branches/generics/src/java/org/apache/commons/codec/language/bm/Rule.java
Thu Aug 18 01:28:58 2011
@@ -369,14 +369,14 @@ public class Rule {
                                 PhonemeExpr ph = parsePhonemeExpr(stripQuotes(parts[3]));
                                 final int cLine = currentLine;
                                 Rule r = new Rule(pat, lCon, rCon, ph) {
-                                    private final int line = cLine;
+                                    private final int myLine = cLine;
                                     private final String loc = location;
 
                                     @Override
                                     public String toString() {
                                         final StringBuilder sb = new StringBuilder();
                                         sb.append("Rule");
-                                        sb.append("{line=").append(line);
+                                        sb.append("{line=").append(myLine);
                                         sb.append(", loc='").append(loc).append('\'');
                                         sb.append('}');
                                         return sb.toString();



Mime
View raw message