From: <fwi...@us...> - 2009-02-17 02:38:12
|
Revision: 6037 http://jython.svn.sourceforge.net/jython/?rev=6037&view=rev Author: fwierzbicki Date: 2009-02-17 02:38:09 +0000 (Tue, 17 Feb 2009) Log Message: ----------- Make the public adapters in AstAdapters final. Modified Paths: -------------- trunk/jython/src/org/python/antlr/adapter/AstAdapters.java Modified: trunk/jython/src/org/python/antlr/adapter/AstAdapters.java =================================================================== --- trunk/jython/src/org/python/antlr/adapter/AstAdapters.java 2009-02-16 15:41:50 UTC (rev 6036) +++ trunk/jython/src/org/python/antlr/adapter/AstAdapters.java 2009-02-17 02:38:09 UTC (rev 6037) @@ -10,15 +10,15 @@ * AstAdapter turns Python and Java objects into ast nodes. */ public class AstAdapters { - public static AliasAdapter aliasAdapter = new AliasAdapter(); - public static CmpopAdapter cmpopAdapter = new CmpopAdapter(); - public static ComprehensionAdapter comprehensionAdapter = new ComprehensionAdapter(); - public static ExcepthandlerAdapter excepthandlerAdapter = new ExcepthandlerAdapter(); - public static ExprAdapter exprAdapter = new ExprAdapter(); - public static IdentifierAdapter identifierAdapter = new IdentifierAdapter(); - public static KeywordAdapter keywordAdapter = new KeywordAdapter(); - public static SliceAdapter sliceAdapter = new SliceAdapter(); - public static StmtAdapter stmtAdapter = new StmtAdapter(); + public final static AliasAdapter aliasAdapter = new AliasAdapter(); + public final static CmpopAdapter cmpopAdapter = new CmpopAdapter(); + public final static ComprehensionAdapter comprehensionAdapter = new ComprehensionAdapter(); + public final static ExcepthandlerAdapter excepthandlerAdapter = new ExcepthandlerAdapter(); + public final static ExprAdapter exprAdapter = new ExprAdapter(); + public final static IdentifierAdapter identifierAdapter = new IdentifierAdapter(); + public final static KeywordAdapter keywordAdapter = new KeywordAdapter(); + public final static SliceAdapter sliceAdapter = new SliceAdapter(); + public final static StmtAdapter stmtAdapter = new StmtAdapter(); public static java.util.List<alias> py2aliasList(PyObject o) { return (java.util.List<alias>)aliasAdapter.iter2ast(o); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |