lucene-pylucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From va...@apache.org
Subject svn commit: r1077171 - /lucene/pylucene/trunk/jcc/jcc/cpp.py
Date Fri, 04 Mar 2011 03:48:21 GMT
Author: vajda
Date: Fri Mar  4 03:48:21 2011
New Revision: 1077171

URL: http://svn.apache.org/viewvc?rev=1077171&view=rev
Log:
added support for missing WildcardType case

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

Modified: lucene/pylucene/trunk/jcc/jcc/cpp.py
URL: http://svn.apache.org/viewvc/lucene/pylucene/trunk/jcc/jcc/cpp.py?rev=1077171&r1=1077170&r2=1077171&view=diff
==============================================================================
--- lucene/pylucene/trunk/jcc/jcc/cpp.py (original)
+++ lucene/pylucene/trunk/jcc/jcc/cpp.py Fri Mar  4 03:48:21 2011
@@ -239,7 +239,7 @@ def addRequiredTypes(cls, typeset, gener
         elif GenericArrayType.instance_(cls):
             gat = GenericArrayType.cast_(cls)
             addRequiredTypes(gat.getGenericComponentType(), typeset, True)
-        elif not TypeVariable.instance_(cls):
+        elif not (TypeVariable.instance_(cls) or WildcardType.instance_(cls)):
             raise NotImplementedError, repr(cls)
     else:
         if cls not in typeset:



Mime
View raw message