lucene-pylucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r1102432 - in /lucene/pylucene/trunk/jcc: CHANGES jcc/cpp.py
Date Thu, 12 May 2011 19:21:37 GMT
Author: vajda
Date: Thu May 12 19:21:36 2011
New Revision: 1102432

URL: http://svn.apache.org/viewvc?rev=1102432&view=rev
Log:
fixed bug with excluding inner classes only (Christian Heimes)

Modified:
    lucene/pylucene/trunk/jcc/CHANGES
    lucene/pylucene/trunk/jcc/jcc/cpp.py

Modified: lucene/pylucene/trunk/jcc/CHANGES
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/CHANGES?rev=1102432&r1=1102431&r2=1102432&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/CHANGES (original)
+++ lucene/pylucene/trunk/jcc/CHANGES Thu May 12 19:21:36 2011
@@ -1,4 +1,9 @@
 
+Version 2.8 ->
+------------------
+ - fixed bug with excluding inner classes only (Christian Heimes)
+ - 
+
 Version 2.7 -> 2.8
 ------------------
  - fixed bug with --module using relative paths (Roman Chyla)

Modified: lucene/pylucene/trunk/jcc/jcc/cpp.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/jcc/cpp.py?rev=1102432&r1=1102431&r2=1102432&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/jcc/cpp.py (original)
+++ lucene/pylucene/trunk/jcc/jcc/cpp.py Thu May 12 19:21:36 2011
@@ -199,7 +199,7 @@ def known(cls, typeset, declares, packag
         cls = cls.getComponentType()
 
     className = cls.getName()
-    if className.split('$', 1)[0] in excludes:
+    if className.split('$', 1)[0] in excludes or className in excludes:
         return False
 
     if cls.isPrimitive():
@@ -544,7 +544,7 @@ def jcc(args):
             packages.add('java.lang')
 
         for className in classNames:
-            if className.split('$', 1)[0] in excludes:
+            if className.split('$', 1)[0] in excludes or className in excludes:
                 continue
             cls = findClass(className.replace('.', '/'))
             if Modifier.isPublic(cls.getModifiers()):



Mime
View raw message