You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2001/06/06 08:02:54 UTC
cvs commit: jakarta-tomcat-jasper/jasper34/generator/org/apache/jasper34/generator ClassDeclarationPhase.java DestroyMethodPhase.java FileDeclarationPhase.java InitMethodPhase.java ServiceMethodPhase.java StaticInitializerPhase.java
costin 01/06/05 23:02:54
Removed: jasper34/generator/org/apache/jasper34/generator
ClassDeclarationPhase.java DestroyMethodPhase.java
FileDeclarationPhase.java InitMethodPhase.java
ServiceMethodPhase.java StaticInitializerPhase.java
Log:
Removed the Phase, use method calls ( generateClassDeclaration,
generateDestroyMethod, etc ). It's easier to read.
( the idea was great - using instanceof() is very efficient and simple, but
I think it's cleaner this way.)
A very interesting alternative would be to define each method in the
associated interface - but then we would need to do lots of casts.