Bug report #801 has just been filed. You can view the report at the following URL:
<http://znutar.cortexity.com/BugRatViewer/ShowReport/801> REPORT #801 Details. Project: Ant Category: Feature Requests SubCategory: Enhancement Class: suggest State: received Priority: high Severity: serious Confidence: public Environment: Release: 1.0 JVM Release: 1.22_06 Operating System: Win NT OS Release: 4.0 SP 6a Platform: Any Synopsis: slight change in CompareTagBase makes much more extensible Description: Breaking the code up in the condition(int, int) method in CompareTagBase.java makes class more extensible. In the code starting with: Object variable = null; if cookie != null { Down to and including the end of the if..else chain. Just before : "if (variable == null) {" Please move that code into a protected method such as getVariable(). The result could also be cached into a private variable to avoid redundant work. In my case, it is very easy to write Switch and Case tags by extending this class much like Equals and other logic tags. Would be willing to contrib these.Title: BugRat Report # 801
BugRat Report # 801
| Project: Ant | Release: 1.0 |
| Category: Feature Requests | SubCategory: Enhancement |
| Class: suggest | State: received |
| Priority: high | Severity: serious |
|
Confidence:
public
|
Submitter:
Rusty Knabe ( [EMAIL PROTECTED] )
Date Submitted:
Jan 18 2001, 11:31:05 CST
Responsible:
Z_Ant Alias ( [EMAIL PROTECTED] )
- Synopsis:
- slight change in CompareTagBase makes much more extensible
- Environment: (jvm, os, osrel, platform)
- 1.22_06, Win NT, 4.0 SP 6a, Any
- Additional Environment Description:
- Report Description:
- Breaking the code up in the condition(int, int) method in CompareTagBase.java makes class more extensible. In the code starting with: Object variable = null; if cookie != null { Down to and including the end of the if..else chain. Just before : "if (variable == null) {" Please move that code into a protected method such as getVariable(). The result could also be cached into a private variable to avoid redundant work. In my case, it is very easy to write Switch and Case tags by extending this class much like Equals and other logic tags. Would be willing to contrib these.
