View | Details | Raw Unified | Return to bug 50264
Collapse All | Expand All

(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/CatchTag.java (+2 lines)
Lines 47-52 Link Here
47
    }
47
    }
48
48
49
    // Releases any resources we may have (or inherit)
49
    // Releases any resources we may have (or inherit)
50
    @Override
50
    public void release() {
51
    public void release() {
51
        super.release();
52
        super.release();
52
        init();
53
        init();
Lines 67-72 Link Here
67
    //*********************************************************************
68
    //*********************************************************************
68
    // Tag logic
69
    // Tag logic
69
70
71
    @Override
70
    public int doStartTag() {
72
    public int doStartTag() {
71
        caught = false;
73
        caught = false;
72
	return EVAL_BODY_INCLUDE;
74
	return EVAL_BODY_INCLUDE;
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/ChooseTag.java (+2 lines)
Lines 46-51 Link Here
46
    }
46
    }
47
47
48
    // Releases any resources we may have (or inherit)
48
    // Releases any resources we may have (or inherit)
49
    @Override
49
    public void release() {
50
    public void release() {
50
        super.release();
51
        super.release();
51
        init();
52
        init();
Lines 87-92 Link Here
87
    // Tag logic
88
    // Tag logic
88
89
89
    // always include body
90
    // always include body
91
    @Override
90
    public int doStartTag() throws JspException {
92
    public int doStartTag() throws JspException {
91
        subtagGateClosed = false;	// when we start, no children have run
93
        subtagGateClosed = false;	// when we start, no children have run
92
        return EVAL_BODY_INCLUDE;
94
        return EVAL_BODY_INCLUDE;
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/ForEachSupport.java (+4 lines)
Lines 254-267 Link Here
254
254
255
    // (We inherit semantics and Javadoc from LoopTagSupport.)
255
    // (We inherit semantics and Javadoc from LoopTagSupport.)
256
256
257
    @Override
257
    protected boolean hasNext() throws JspTagException {
258
    protected boolean hasNext() throws JspTagException {
258
        return items.hasNext();
259
        return items.hasNext();
259
    }
260
    }
260
261
262
    @Override
261
    protected Object next() throws JspTagException {
263
    protected Object next() throws JspTagException {
262
        return items.next();
264
        return items.next();
263
    }
265
    }
264
266
267
    @Override
265
    protected void prepare() throws JspTagException {
268
    protected void prepare() throws JspTagException {
266
        // produce the right sort of ForEachIterator
269
        // produce the right sort of ForEachIterator
267
        if (rawItems != null) {
270
        if (rawItems != null) {
Lines 290-295 Link Here
290
    // Tag logic and lifecycle management
293
    // Tag logic and lifecycle management
291
294
292
    // Releases any resources we may have (or inherit)
295
    // Releases any resources we may have (or inherit)
296
    @Override
293
    public void release() {
297
    public void release() {
294
        super.release();
298
        super.release();
295
        items = null;
299
        items = null;
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/ForTokensSupport.java (+5 lines)
Lines 69-74 Link Here
69
     * We inherit semantics and Javadoc from LoopTagSupport.
69
     * We inherit semantics and Javadoc from LoopTagSupport.
70
     */
70
     */
71
71
72
    @Override
72
    protected void prepare() throws JspTagException {
73
    protected void prepare() throws JspTagException {
73
        if (items instanceof ValueExpression) {
74
        if (items instanceof ValueExpression) {
74
            deferredExpression = (ValueExpression) items;
75
            deferredExpression = (ValueExpression) items;
Lines 84-93 Link Here
84
        }
85
        }
85
    }
86
    }
86
87
88
    @Override
87
    protected boolean hasNext() throws JspTagException {
89
    protected boolean hasNext() throws JspTagException {
88
        return st.hasMoreElements();
90
        return st.hasMoreElements();
89
    }
91
    }
90
92
93
    @Override
91
    protected Object next() throws JspTagException {
94
    protected Object next() throws JspTagException {
92
        if (deferredExpression!=null) {
95
        if (deferredExpression!=null) {
93
            st.nextElement();
96
            st.nextElement();
Lines 108-113 Link Here
108
111
109
112
110
    // Releases any resources we may have (or inherit)
113
    // Releases any resources we may have (or inherit)
114
    @Override
111
    public void release() {
115
    public void release() {
112
        super.release();
116
        super.release();
113
        items = delims = null;
117
        items = delims = null;
Lines 118-123 Link Here
118
     * Get the delimiter for string tokens. Used only for constructing
122
     * Get the delimiter for string tokens. Used only for constructing
119
     * the deferred expression for it.
123
     * the deferred expression for it.
120
     */
124
     */
125
    @Override
121
    protected String getDelims() {
126
    protected String getDelims() {
122
        return delims;
127
        return delims;
123
    }
128
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/ImportSupport.java (-6 / +16 lines)
Lines 118-123 Link Here
118
    // Tag logic
118
    // Tag logic
119
119
120
    // determines what kind of import and variable exposure to perform 
120
    // determines what kind of import and variable exposure to perform 
121
    @Override
121
    public int doStartTag() throws JspException {
122
    public int doStartTag() throws JspException {
122
	// Sanity check
123
	// Sanity check
123
	if (context != null
124
	if (context != null
Lines 151-156 Link Here
151
    }
152
    }
152
153
153
    // manages connections as necessary (creating or destroying)
154
    // manages connections as necessary (creating or destroying)
155
    @Override
154
    public int doEndTag() throws JspException {
156
    public int doEndTag() throws JspException {
155
        try {
157
        try {
156
	    // If we didn't expose a Reader earlier...
158
	    // If we didn't expose a Reader earlier...
Lines 189-194 Link Here
189
    }
191
    }
190
192
191
    // Releases any resources we may have (or inherit)
193
    // Releases any resources we may have (or inherit)
194
    @Override
192
    public void release() {
195
    public void release() {
193
	init();
196
	init();
194
        super.release();
197
        super.release();
Lines 386-391 Link Here
386
            super(request);
389
            super(request);
387
        }
390
        }
388
        
391
        
392
        @Override
389
        public String getMethod() {
393
        public String getMethod() {
390
            return "GET";
394
            return "GET";
391
        }
395
        }
Lines 428-434 Link Here
428
432
429
	/** A ServletOutputStream we convey, tied to this Writer. */
433
	/** A ServletOutputStream we convey, tied to this Writer. */
430
	private ServletOutputStream sos = new ServletOutputStream() {
434
	private ServletOutputStream sos = new ServletOutputStream() {
431
	    public void write(int b) throws IOException {
435
	    @Override
436
        public void write(int b) throws IOException {
432
		bos.write(b);
437
		bos.write(b);
433
	    }
438
	    }
434
	};
439
	};
Lines 451-457 Link Here
451
	}
456
	}
452
	
457
	
453
	/** Returns a Writer designed to buffer the output. */
458
	/** Returns a Writer designed to buffer the output. */
454
	public PrintWriter getWriter() {
459
	@Override
460
    public PrintWriter getWriter() {
455
	    if (isStreamUsed)
461
	    if (isStreamUsed)
456
		throw new IllegalStateException(
462
		throw new IllegalStateException(
457
		    Resources.getMessage("IMPORT_ILLEGAL_STREAM"));
463
		    Resources.getMessage("IMPORT_ILLEGAL_STREAM"));
Lines 460-466 Link Here
460
	}
466
	}
461
	
467
	
462
	/** Returns a ServletOutputStream designed to buffer the output. */
468
	/** Returns a ServletOutputStream designed to buffer the output. */
463
	public ServletOutputStream getOutputStream() {
469
	@Override
470
    public ServletOutputStream getOutputStream() {
464
	    if (isWriterUsed)
471
	    if (isWriterUsed)
465
		throw new IllegalStateException(
472
		throw new IllegalStateException(
466
		    Resources.getMessage("IMPORT_ILLEGAL_WRITER"));
473
		    Resources.getMessage("IMPORT_ILLEGAL_WRITER"));
Lines 469-484 Link Here
469
	}
476
	}
470
477
471
	/** Has no effect. */
478
	/** Has no effect. */
472
	public void setContentType(String x) {
479
	@Override
480
    public void setContentType(String x) {
473
	    // ignore
481
	    // ignore
474
	}
482
	}
475
483
476
	/** Has no effect. */
484
	/** Has no effect. */
477
	public void setLocale(Locale x) {
485
	@Override
486
    public void setLocale(Locale x) {
478
	    // ignore
487
	    // ignore
479
	}
488
	}
480
489
481
	public void setStatus(int status) {
490
	@Override
491
    public void setStatus(int status) {
482
	    this.status = status;
492
	    this.status = status;
483
	}
493
	}
484
494
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/OtherwiseTag.java (+1 lines)
Lines 32-37 Link Here
32
     */
32
     */
33
33
34
    // Don't let the condition stop us... :-)
34
    // Don't let the condition stop us... :-)
35
    @Override
35
    protected boolean condition() {
36
    protected boolean condition() {
36
        return true;
37
        return true;
37
    }
38
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/OutSupport.java (+1 lines)
Lines 59-64 Link Here
59
    }
59
    }
60
60
61
    // Releases any resources we may have (or inherit)
61
    // Releases any resources we may have (or inherit)
62
    @Override
62
    public void release() {
63
    public void release() {
63
        output = null;
64
        output = null;
64
        super.release();
65
        super.release();
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/ParamSupport.java (+2 lines)
Lines 68-73 Link Here
68
    // Tag logic
68
    // Tag logic
69
69
70
    // simply send our name and value to our appropriate ancestor
70
    // simply send our name and value to our appropriate ancestor
71
    @Override
71
    public int doEndTag() throws JspException {
72
    public int doEndTag() throws JspException {
72
	Tag t = findAncestorWithClass(this, ParamParent.class);
73
	Tag t = findAncestorWithClass(this, ParamParent.class);
73
	if (t == null)
74
	if (t == null)
Lines 101-106 Link Here
101
    }
102
    }
102
103
103
    // Releases any resources we may have (or inherit)
104
    // Releases any resources we may have (or inherit)
105
    @Override
104
    public void release() {
106
    public void release() {
105
	init();
107
	init();
106
    }
108
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/RedirectSupport.java (+3 lines)
Lines 86-91 Link Here
86
    // Tag logic
86
    // Tag logic
87
87
88
    // resets any parameters that might be sent
88
    // resets any parameters that might be sent
89
    @Override
89
    public int doStartTag() throws JspException {
90
    public int doStartTag() throws JspException {
90
	params = new ParamSupport.ParamManager();
91
	params = new ParamSupport.ParamManager();
91
	return EVAL_BODY_BUFFERED;
92
	return EVAL_BODY_BUFFERED;
Lines 93-98 Link Here
93
94
94
95
95
    // gets the right value, encodes it, and prints or stores it
96
    // gets the right value, encodes it, and prints or stores it
97
    @Override
96
    public int doEndTag() throws JspException {
98
    public int doEndTag() throws JspException {
97
	String result;				// the eventual result
99
	String result;				// the eventual result
98
100
Lines 117-122 Link Here
117
    }
119
    }
118
120
119
    // Releases any resources we may have (or inherit)
121
    // Releases any resources we may have (or inherit)
122
    @Override
120
    public void release() {
123
    public void release() {
121
	init();
124
	init();
122
    }
125
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/RemoveTag.java (+2 lines)
Lines 58-63 Link Here
58
    }
58
    }
59
59
60
    // Releases any resources we may have (or inherit)
60
    // Releases any resources we may have (or inherit)
61
    @Override
61
    public void release() {
62
    public void release() {
62
        super.release();
63
        super.release();
63
        init();
64
        init();
Lines 68-73 Link Here
68
    // Tag logic
69
    // Tag logic
69
70
70
    // removes the variable (from a specific scope, if specified)
71
    // removes the variable (from a specific scope, if specified)
72
    @Override
71
    public int doEndTag() throws JspException {
73
    public int doEndTag() throws JspException {
72
        if (!scopeSpecified)
74
        if (!scopeSpecified)
73
            pageContext.removeAttribute(var);
75
            pageContext.removeAttribute(var);
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/SetSupport.java (+2 lines)
Lines 68-73 Link Here
68
    }
68
    }
69
69
70
    // Releases any resources we may have (or inherit)
70
    // Releases any resources we may have (or inherit)
71
    @Override
71
    public void release() {
72
    public void release() {
72
        var = null;
73
        var = null;
73
        scope = null;
74
        scope = null;
Lines 78-83 Link Here
78
    //*********************************************************************
79
    //*********************************************************************
79
    // Tag logic
80
    // Tag logic
80
81
82
    @Override
81
    public int doEndTag() throws JspException {
83
    public int doEndTag() throws JspException {
82
84
83
        // decide what to do with the result
85
        // decide what to do with the result
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/UrlSupport.java (+3 lines)
Lines 90-95 Link Here
90
    // Tag logic
90
    // Tag logic
91
91
92
    // resets any parameters that might be sent
92
    // resets any parameters that might be sent
93
    @Override
93
    public int doStartTag() throws JspException {
94
    public int doStartTag() throws JspException {
94
	params = new ParamSupport.ParamManager();
95
	params = new ParamSupport.ParamManager();
95
	return EVAL_BODY_BUFFERED;
96
	return EVAL_BODY_BUFFERED;
Lines 97-102 Link Here
97
98
98
99
99
    // gets the right value, encodes it, and prints or stores it
100
    // gets the right value, encodes it, and prints or stores it
101
    @Override
100
    public int doEndTag() throws JspException {
102
    public int doEndTag() throws JspException {
101
	String result;				// the eventual result
103
	String result;				// the eventual result
102
104
Lines 126-131 Link Here
126
    }
128
    }
127
129
128
    // Releases any resources we may have (or inherit)
130
    // Releases any resources we may have (or inherit)
131
    @Override
129
    public void release() {
132
    public void release() {
130
	init();
133
	init();
131
    }
134
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/core/WhenTagSupport.java (+1 lines)
Lines 49-54 Link Here
49
     * ChooseTag wants it to do so.  The condition will not even be
49
     * ChooseTag wants it to do so.  The condition will not even be
50
     * evaluated if ChooseTag instructs us not to run.
50
     * evaluated if ChooseTag instructs us not to run.
51
     */
51
     */
52
    @Override
52
    public int doStartTag() throws JspException {
53
    public int doStartTag() throws JspException {
53
54
54
        Tag parent;
55
        Tag parent;
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/BundleSupport.java (+3 lines)
Lines 92-102 Link Here
92
    //*********************************************************************
92
    //*********************************************************************
93
    // Tag logic
93
    // Tag logic
94
94
95
    @Override
95
    public int doStartTag() throws JspException {
96
    public int doStartTag() throws JspException {
96
	locCtxt = getLocalizationContext(pageContext, basename);
97
	locCtxt = getLocalizationContext(pageContext, basename);
97
	return EVAL_BODY_BUFFERED;
98
	return EVAL_BODY_BUFFERED;
98
    }
99
    }
99
100
101
    @Override
100
    public int doEndTag() throws JspException {
102
    public int doEndTag() throws JspException {
101
	if (bodyContent != null) {
103
	if (bodyContent != null) {
102
	    try {
104
	    try {
Lines 110-115 Link Here
110
    }
112
    }
111
113
112
    // Releases any resources we may have (or inherit)
114
    // Releases any resources we may have (or inherit)
115
    @Override
113
    public void release() {
116
    public void release() {
114
        super.release();
117
        super.release();
115
    	init();
118
    	init();
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/FormatDateSupport.java (+2 lines)
Lines 114-119 Link Here
114
    /*
114
    /*
115
     * Formats the given date and time.
115
     * Formats the given date and time.
116
     */
116
     */
117
    @Override
117
    public int doEndTag() throws JspException {
118
    public int doEndTag() throws JspException {
118
119
119
	String formatted = null;
120
	String formatted = null;
Lines 176-181 Link Here
176
    }
177
    }
177
178
178
    // Releases any resources we may have (or inherit)
179
    // Releases any resources we may have (or inherit)
180
    @Override
179
    public void release() {
181
    public void release() {
180
	init();
182
	init();
181
    }
183
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/FormatNumberSupport.java (+2 lines)
Lines 122-127 Link Here
122
    //*********************************************************************
122
    //*********************************************************************
123
    // Tag logic
123
    // Tag logic
124
124
125
    @Override
125
    public int doEndTag() throws JspException {
126
    public int doEndTag() throws JspException {
126
	String formatted = null;
127
	String formatted = null;
127
        Object input = null;
128
        Object input = null;
Lines 212-217 Link Here
212
    }
213
    }
213
214
214
    // Releases any resources we may have (or inherit)
215
    // Releases any resources we may have (or inherit)
216
    @Override
215
    public void release() {
217
    public void release() {
216
	init();
218
	init();
217
    }
219
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/MessageSupport.java (+3 lines)
Lines 113-123 Link Here
113
    //*********************************************************************
113
    //*********************************************************************
114
    // Tag logic
114
    // Tag logic
115
115
116
    @Override
116
    public int doStartTag() throws JspException {
117
    public int doStartTag() throws JspException {
117
	params.clear();
118
	params.clear();
118
	return EVAL_BODY_BUFFERED;
119
	return EVAL_BODY_BUFFERED;
119
    }
120
    }
120
121
122
    @Override
121
    public int doEndTag() throws JspException {
123
    public int doEndTag() throws JspException {
122
124
123
        String key = null;
125
        String key = null;
Lines 211-216 Link Here
211
    }
213
    }
212
214
213
    // Releases any resources we may have (or inherit)
215
    // Releases any resources we may have (or inherit)
216
    @Override
214
    public void release() {
217
    public void release() {
215
	init();
218
	init();
216
    }
219
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/ParamSupport.java (+2 lines)
Lines 60-65 Link Here
60
    // Tag logic
60
    // Tag logic
61
61
62
    // Supply our value to our parent <fmt:message> tag
62
    // Supply our value to our parent <fmt:message> tag
63
    @Override
63
    public int doEndTag() throws JspException {
64
    public int doEndTag() throws JspException {
64
	Tag t = findAncestorWithClass(this, MessageSupport.class);
65
	Tag t = findAncestorWithClass(this, MessageSupport.class);
65
	if (t == null) {
66
	if (t == null) {
Lines 89-94 Link Here
89
    }
90
    }
90
91
91
    // Releases any resources we may have (or inherit)
92
    // Releases any resources we may have (or inherit)
93
    @Override
92
    public void release() {
94
    public void release() {
93
	init();
95
	init();
94
    }
96
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/ParseDateSupport.java (+2 lines)
Lines 103-108 Link Here
103
    //*********************************************************************
103
    //*********************************************************************
104
    // Tag logic
104
    // Tag logic
105
105
106
    @Override
106
    public int doEndTag() throws JspException {
107
    public int doEndTag() throws JspException {
107
108
108
        String input = null;
109
        String input = null;
Lines 197-202 Link Here
197
    }
198
    }
198
199
199
    // Releases any resources we may have (or inherit)
200
    // Releases any resources we may have (or inherit)
201
    @Override
200
    public void release() {
202
    public void release() {
201
	init();
203
	init();
202
    }
204
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/ParseNumberSupport.java (+2 lines)
Lines 100-105 Link Here
100
    //*********************************************************************
100
    //*********************************************************************
101
    // Tag logic
101
    // Tag logic
102
102
103
    @Override
103
    public int doEndTag() throws JspException {
104
    public int doEndTag() throws JspException {
104
	String input = null;
105
	String input = null;
105
106
Lines 174-179 Link Here
174
    }
175
    }
175
176
176
    // Releases any resources we may have (or inherit)
177
    // Releases any resources we may have (or inherit)
178
    @Override
177
    public void release() {
179
    public void release() {
178
	init();
180
	init();
179
    }
181
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/RequestEncodingSupport.java (+2 lines)
Lines 75-80 Link Here
75
    //*********************************************************************
75
    //*********************************************************************
76
    // Tag logic
76
    // Tag logic
77
77
78
    @Override
78
    public int doEndTag() throws JspException {
79
    public int doEndTag() throws JspException {
79
        charEncoding = value;
80
        charEncoding = value;
80
	if ((charEncoding == null)
81
	if ((charEncoding == null)
Lines 105-110 Link Here
105
    }
106
    }
106
107
107
    // Releases any resources we may have (or inherit)
108
    // Releases any resources we may have (or inherit)
109
    @Override
108
    public void release() {
110
    public void release() {
109
	init();
111
	init();
110
    }
112
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/SetBundleSupport.java (+2 lines)
Lines 77-82 Link Here
77
    //*********************************************************************
77
    //*********************************************************************
78
    // Tag logic
78
    // Tag logic
79
79
80
    @Override
80
    public int doEndTag() throws JspException {
81
    public int doEndTag() throws JspException {
81
	LocalizationContext locCtxt =
82
	LocalizationContext locCtxt =
82
	    BundleSupport.getLocalizationContext(pageContext, basename);
83
	    BundleSupport.getLocalizationContext(pageContext, basename);
Lines 92-97 Link Here
92
    }
93
    }
93
94
94
    // Releases any resources we may have (or inherit)
95
    // Releases any resources we may have (or inherit)
96
    @Override
95
    public void release() {
97
    public void release() {
96
	init();
98
	init();
97
    }
99
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/SetLocaleSupport.java (+2 lines)
Lines 90-95 Link Here
90
    //*********************************************************************
90
    //*********************************************************************
91
    // Tag logic
91
    // Tag logic
92
92
93
    @Override
93
    public int doEndTag() throws JspException {
94
    public int doEndTag() throws JspException {
94
	Locale locale = null;
95
	Locale locale = null;
95
96
Lines 112-117 Link Here
112
    }
113
    }
113
114
114
    // Releases any resources we may have (or inherit)
115
    // Releases any resources we may have (or inherit)
116
    @Override
115
    public void release() {
117
    public void release() {
116
	init();
118
	init();
117
    }
119
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/SetTimeZoneSupport.java (+2 lines)
Lines 79-84 Link Here
79
    //*********************************************************************
79
    //*********************************************************************
80
    // Tag logic
80
    // Tag logic
81
81
82
    @Override
82
    public int doEndTag() throws JspException {
83
    public int doEndTag() throws JspException {
83
	TimeZone timeZone = null;
84
	TimeZone timeZone = null;
84
85
Lines 104-109 Link Here
104
    }
105
    }
105
106
106
    // Releases any resources we may have (or inherit)
107
    // Releases any resources we may have (or inherit)
108
    @Override
107
    public void release() {
109
    public void release() {
108
	init();
110
	init();
109
    }
111
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/fmt/TimeZoneSupport.java (+3 lines)
Lines 73-78 Link Here
73
    //*********************************************************************
73
    //*********************************************************************
74
    // Tag logic
74
    // Tag logic
75
75
76
    @Override
76
    public int doStartTag() throws JspException {
77
    public int doStartTag() throws JspException {
77
78
78
	if (value == null) {
79
	if (value == null) {
Lines 90-95 Link Here
90
	return EVAL_BODY_BUFFERED;
91
	return EVAL_BODY_BUFFERED;
91
    }
92
    }
92
93
94
    @Override
93
    public int doEndTag() throws JspException {
95
    public int doEndTag() throws JspException {
94
	try {
96
	try {
95
	    pageContext.getOut().print(bodyContent.getString());
97
	    pageContext.getOut().print(bodyContent.getString());
Lines 101-106 Link Here
101
    }
103
    }
102
104
103
    // Releases any resources we may have (or inherit)
105
    // Releases any resources we may have (or inherit)
106
    @Override
104
    public void release() {
107
    public void release() {
105
	init();
108
	init();
106
    }
109
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/sql/DateParamTagSupport.java (+1 lines)
Lines 65-70 Link Here
65
    //*********************************************************************
65
    //*********************************************************************
66
    // Tag logic
66
    // Tag logic
67
67
68
    @Override
68
    public int doEndTag() throws JspException {
69
    public int doEndTag() throws JspException {
69
	SQLExecutionTag parent = (SQLExecutionTag) 
70
	SQLExecutionTag parent = (SQLExecutionTag) 
70
	    findAncestorWithClass(this, SQLExecutionTag.class);
71
	    findAncestorWithClass(this, SQLExecutionTag.class);
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/sql/ParamTagSupport.java (+1 lines)
Lines 37-42 Link Here
37
    //*********************************************************************
37
    //*********************************************************************
38
    // Tag logic
38
    // Tag logic
39
39
40
    @Override
40
    public int doEndTag() throws JspException {
41
    public int doEndTag() throws JspException {
41
	SQLExecutionTag parent = (SQLExecutionTag) 
42
	SQLExecutionTag parent = (SQLExecutionTag) 
42
	    findAncestorWithClass(this, SQLExecutionTag.class);
43
	    findAncestorWithClass(this, SQLExecutionTag.class);
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/sql/QueryTagSupport.java (+2 lines)
Lines 138-143 Link Here
138
     * Prepares for execution by setting the initial state, such as
138
     * Prepares for execution by setting the initial state, such as
139
     * getting the <code>Connection</code>
139
     * getting the <code>Connection</code>
140
     */
140
     */
141
    @Override
141
    public int doStartTag() throws JspException {
142
    public int doStartTag() throws JspException {
142
143
143
        if (!maxRowsSpecified) {
144
        if (!maxRowsSpecified) {
Lines 181-186 Link Here
181
     * element, or is retrieved from a JSP scope  attribute
182
     * element, or is retrieved from a JSP scope  attribute
182
     * named <code>javax.servlet.jstl.sql.dataSource</code>.
183
     * named <code>javax.servlet.jstl.sql.dataSource</code>.
183
     */
184
     */
185
    @Override
184
    public int doEndTag() throws JspException {
186
    public int doEndTag() throws JspException {
185
        /*
187
        /*
186
         * Use the SQL statement specified by the sql attribute, if any,
188
         * Use the SQL statement specified by the sql attribute, if any,
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/sql/SetDataSourceTagSupport.java (+2 lines)
Lines 85-90 Link Here
85
    //*********************************************************************
85
    //*********************************************************************
86
    // Tag logic
86
    // Tag logic
87
87
88
    @Override
88
    public int doStartTag() throws JspException {
89
    public int doStartTag() throws JspException {
89
        DataSource ds;
90
        DataSource ds;
90
91
Lines 124-129 Link Here
124
    }
125
    }
125
126
126
    // Releases any resources we may have (or inherit)
127
    // Releases any resources we may have (or inherit)
128
    @Override
127
    public void release() {
129
    public void release() {
128
	init();
130
	init();
129
    }
131
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/sql/TransactionTagSupport.java (+3 lines)
Lines 87-92 Link Here
87
     * getting the <code>Connection</code> and preparing it for
87
     * getting the <code>Connection</code> and preparing it for
88
     * the transaction.
88
     * the transaction.
89
     */
89
     */
90
    @Override
90
    public int doStartTag() throws JspException {
91
    public int doStartTag() throws JspException {
91
92
92
	if ((rawDataSource == null) && dataSourceSpecified) {
93
	if ((rawDataSource == null) && dataSourceSpecified) {
Lines 121-126 Link Here
121
    /**
122
    /**
122
     * Commits the transaction.
123
     * Commits the transaction.
123
     */
124
     */
125
    @Override
124
    public int doEndTag() throws JspException {
126
    public int doEndTag() throws JspException {
125
	try {
127
	try {
126
	    conn.commit();
128
	    conn.commit();
Lines 168-173 Link Here
168
    }
170
    }
169
171
170
    // Releases any resources we may have (or inherit)
172
    // Releases any resources we may have (or inherit)
173
    @Override
171
    public void release() {
174
    public void release() {
172
	dataSourceSpecified = false;
175
	dataSourceSpecified = false;
173
	rawDataSource = null;
176
	rawDataSource = null;
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/sql/UpdateTagSupport.java (+2 lines)
Lines 110-115 Link Here
110
     * Prepares for execution by setting the initial state, such as
110
     * Prepares for execution by setting the initial state, such as
111
     * getting the <code>Connection</code>
111
     * getting the <code>Connection</code>
112
     */
112
     */
113
    @Override
113
    public int doStartTag() throws JspException {
114
    public int doStartTag() throws JspException {
114
115
115
	try {
116
	try {
Lines 134-139 Link Here
134
     * element, or is retrieved from a JSP scope  attribute
135
     * element, or is retrieved from a JSP scope  attribute
135
     * named <code>javax.servlet.jsp.jstl.sql.dataSource</code>.
136
     * named <code>javax.servlet.jsp.jstl.sql.dataSource</code>.
136
     */
137
     */
138
    @Override
137
    public int doEndTag() throws JspException {
139
    public int doEndTag() throws JspException {
138
	/*
140
	/*
139
	 * Use the SQL statement specified by the sql attribute, if any,
141
	 * Use the SQL statement specified by the sql attribute, if any,
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/ExprSupport.java (+2 lines)
Lines 63-68 Link Here
63
    // Tag logic
63
    // Tag logic
64
64
65
    // applies XPath expression from 'select' and prints the result
65
    // applies XPath expression from 'select' and prints the result
66
    @Override
66
    public int doStartTag() throws JspException {
67
    public int doStartTag() throws JspException {
67
        try {
68
        try {
68
            XPathUtil xu = new XPathUtil(pageContext);
69
            XPathUtil xu = new XPathUtil(pageContext);
Lines 75-80 Link Here
75
    }
76
    }
76
77
77
    // Releases any resources we may have (or inherit)
78
    // Releases any resources we may have (or inherit)
79
    @Override
78
    public void release() {
80
    public void release() {
79
        super.release();
81
        super.release();
80
        init();
82
        init();
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/ForEachTag.java (+4 lines)
Lines 45-60 Link Here
45
45
46
    // (We inherit semantics and Javadoc from LoopTagSupport.) 
46
    // (We inherit semantics and Javadoc from LoopTagSupport.) 
47
47
48
    @Override
48
    protected void prepare() throws JspTagException {
49
    protected void prepare() throws JspTagException {
49
        nodesIndex = 0;
50
        nodesIndex = 0;
50
        XPathUtil xu = new XPathUtil(pageContext);
51
        XPathUtil xu = new XPathUtil(pageContext);
51
        nodes = xu.selectNodes(XPathUtil.getContext(this), select);
52
        nodes = xu.selectNodes(XPathUtil.getContext(this), select);
52
    }
53
    }
53
54
55
    @Override
54
    protected boolean hasNext() throws JspTagException {
56
    protected boolean hasNext() throws JspTagException {
55
        return (nodesIndex < nodes.size());
57
        return (nodesIndex < nodes.size());
56
    }
58
    }
57
59
60
    @Override
58
    protected Object next() throws JspTagException {
61
    protected Object next() throws JspTagException {
59
	Object o = nodes.get(nodesIndex++);
62
	Object o = nodes.get(nodesIndex++);
60
	if (!(o instanceof org.w3c.dom.Node))
63
	if (!(o instanceof org.w3c.dom.Node))
Lines 69-74 Link Here
69
    // Tag logic and lifecycle management
72
    // Tag logic and lifecycle management
70
73
71
    // Releases any resources we may have (or inherit)
74
    // Releases any resources we may have (or inherit)
75
    @Override
72
    public void release() {
76
    public void release() {
73
	init();
77
	init();
74
        super.release();
78
        super.release();
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/IfTag.java (+2 lines)
Lines 38-43 Link Here
38
    }
38
    }
39
39
40
    // Releases any resources we may have (or inherit)
40
    // Releases any resources we may have (or inherit)
41
    @Override
41
    public void release() {
42
    public void release() {
42
        super.release();
43
        super.release();
43
        init();
44
        init();
Lines 47-52 Link Here
47
    //*********************************************************************
48
    //*********************************************************************
48
    // Supplied conditional logic
49
    // Supplied conditional logic
49
50
51
    @Override
50
    protected boolean condition() throws JspTagException {
52
    protected boolean condition() throws JspTagException {
51
        XPathUtil xu = new XPathUtil(pageContext);
53
        XPathUtil xu = new XPathUtil(pageContext);
52
        return (xu.booleanValueOf(XPathUtil.getContext(this), select));
54
        return (xu.booleanValueOf(XPathUtil.getContext(this), select));
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/ParamSupport.java (+2 lines)
Lines 58-63 Link Here
58
    // Tag logic
58
    // Tag logic
59
59
60
    // simply send our name and value to our parent <transform> tag
60
    // simply send our name and value to our parent <transform> tag
61
    @Override
61
    public int doEndTag() throws JspException {
62
    public int doEndTag() throws JspException {
62
	Tag t = findAncestorWithClass(this, TransformSupport.class);
63
	Tag t = findAncestorWithClass(this, TransformSupport.class);
63
	if (t == null)
64
	if (t == null)
Lines 77-82 Link Here
77
    }
78
    }
78
79
79
    // Releases any resources we may have (or inherit)
80
    // Releases any resources we may have (or inherit)
81
    @Override
80
    public void release() {
82
    public void release() {
81
	init();
83
	init();
82
    }
84
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/ParseSupport.java (+2 lines)
Lines 103-108 Link Here
103
    // Tag logic
103
    // Tag logic
104
104
105
    // parse 'source' or body, storing result in 'var'
105
    // parse 'source' or body, storing result in 'var'
106
    @Override
106
    public int doEndTag() throws JspException {
107
    public int doEndTag() throws JspException {
107
      try {
108
      try {
108
	
109
	
Lines 163-168 Link Here
163
    }
164
    }
164
165
165
    // Releases any resources we may have (or inherit)
166
    // Releases any resources we may have (or inherit)
167
    @Override
166
    public void release() {
168
    public void release() {
167
	init();
169
	init();
168
    }
170
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/SetTag.java (+2 lines)
Lines 64-69 Link Here
64
    // Tag logic
64
    // Tag logic
65
65
66
    // applies XPath expression from 'select' and stores the result in 'var'
66
    // applies XPath expression from 'select' and stores the result in 'var'
67
    @Override
67
    public int doStartTag() throws JspException {
68
    public int doStartTag() throws JspException {
68
        // process the query
69
        // process the query
69
        XPathUtil xu = new XPathUtil(pageContext);
70
        XPathUtil xu = new XPathUtil(pageContext);
Lines 85-90 Link Here
85
    }
86
    }
86
87
87
    // Releases any resources we may have (or inherit)
88
    // Releases any resources we may have (or inherit)
89
    @Override
88
    public void release() {
90
    public void release() {
89
        super.release();
91
        super.release();
90
        init();
92
        init();
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/TransformSupport.java (+6 lines)
Lines 113-124 Link Here
113
    //*********************************************************************
113
    //*********************************************************************
114
    // Tag logic
114
    // Tag logic
115
115
116
    @Override
116
    public int doStartTag() throws JspException {
117
    public int doStartTag() throws JspException {
117
        // set up transformer in the start tag so that nested <param> tags can set parameters directly
118
        // set up transformer in the start tag so that nested <param> tags can set parameters directly
118
        t = getTransformer(xslt, xsltSystemId);
119
        t = getTransformer(xslt, xsltSystemId);
119
        return EVAL_BODY_BUFFERED;
120
        return EVAL_BODY_BUFFERED;
120
    }
121
    }
121
122
123
    @Override
122
    public int doEndTag() throws JspException {
124
    public int doEndTag() throws JspException {
123
        Source source = xmlSpecified ? getSourceFromXmlAttribute() : getDocumentFromBodyContent();
125
        Source source = xmlSpecified ? getSourceFromXmlAttribute() : getDocumentFromBodyContent();
124
126
Lines 148-153 Link Here
148
150
149
    // Releases any resources we may have (or inherit)
151
    // Releases any resources we may have (or inherit)
150
152
153
    @Override
151
    public void release() {
154
    public void release() {
152
        super.release();
155
        super.release();
153
        init();
156
        init();
Lines 339-350 Link Here
339
            this.w = w;
342
            this.w = w;
340
        }
343
        }
341
344
345
        @Override
342
        public void close() {
346
        public void close() {
343
        }
347
        }
344
348
349
        @Override
345
        public void flush() {
350
        public void flush() {
346
        }
351
        }
347
352
353
        @Override
348
        public void write(char[] cbuf, int off, int len) throws IOException {
354
        public void write(char[] cbuf, int off, int len) throws IOException {
349
            w.write(cbuf, off, len);
355
            w.write(cbuf, off, len);
350
        }
356
        }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/WhenTag.java (+2 lines)
Lines 39-44 Link Here
39
    }
39
    }
40
40
41
    // Releases any resources we may have (or inherit)
41
    // Releases any resources we may have (or inherit)
42
    @Override
42
    public void release() {
43
    public void release() {
43
        super.release();
44
        super.release();
44
        init();
45
        init();
Lines 48-53 Link Here
48
    //*********************************************************************
49
    //*********************************************************************
49
    // Supplied conditional logic
50
    // Supplied conditional logic
50
51
52
    @Override
51
    protected boolean condition() throws JspTagException {
53
    protected boolean condition() throws JspTagException {
52
        XPathUtil xu = new XPathUtil(pageContext);
54
        XPathUtil xu = new XPathUtil(pageContext);
53
        return (xu.booleanValueOf(XPathUtil.getContext(this), select));
55
        return (xu.booleanValueOf(XPathUtil.getContext(this), select));
(-)impl/src/main/java/org/apache/taglibs/standard/tag/common/xml/XPathUtil.java (+4 lines)
Lines 218-223 Link Here
218
         *  (from xalan: which must be passed in order to lazy evaluate variables.)
218
         *  (from xalan: which must be passed in order to lazy evaluate variables.)
219
         * @param qname The qualified name of the variable.
219
         * @param qname The qualified name of the variable.
220
         */
220
         */
221
        @Override
221
        public XObject getVariableOrParam(
222
        public XObject getVariableOrParam(
222
        XPathContext xctxt, 
223
        XPathContext xctxt, 
223
        org.apache.xml.utils.QName qname)
224
        org.apache.xml.utils.QName qname)
Lines 867-876 Link Here
867
        return (Node)nodeVector.elementAt( index );
868
        return (Node)nodeVector.elementAt( index );
868
    }
869
    }
869
870
871
    @Override
870
    public Object elementAt ( int index ) {
872
    public Object elementAt ( int index ) {
871
        return nodeVector.elementAt( index );
873
        return nodeVector.elementAt( index );
872
    }
874
    }
873
875
876
    @Override
874
    public Object get ( int index ) {
877
    public Object get ( int index ) {
875
        return nodeVector.get( index );
878
        return nodeVector.get( index );
876
    }
879
    }
Lines 879-884 Link Here
879
        return nodeVector.size( );
882
        return nodeVector.size( );
880
    }
883
    }
881
884
885
    @Override
882
    public int size (  ) {
886
    public int size (  ) {
883
        //System.out.println("JSTL node list size => " + nodeVector.size() );
887
        //System.out.println("JSTL node list size => " + nodeVector.size() );
884
        return nodeVector.size( );
888
        return nodeVector.size( );
(-)impl/src/main/java/org/apache/taglibs/standard/tag/rt/core/IfTag.java (+2 lines)
Lines 40-45 Link Here
40
    }
40
    }
41
41
42
    // Releases any resources we may have (or inherit)
42
    // Releases any resources we may have (or inherit)
43
    @Override
43
    public void release() {
44
    public void release() {
44
        super.release();
45
        super.release();
45
        init();
46
        init();
Lines 49-54 Link Here
49
    //*********************************************************************
50
    //*********************************************************************
50
    // Supplied conditional logic
51
    // Supplied conditional logic
51
52
53
    @Override
52
    protected boolean condition() {
54
    protected boolean condition() {
53
        return test;
55
        return test;
54
    }
56
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/rt/core/WhenTag.java (+2 lines)
Lines 37-42 Link Here
37
    }
37
    }
38
38
39
    // Releases any resources we may have (or inherit)
39
    // Releases any resources we may have (or inherit)
40
    @Override
40
    public void release() {
41
    public void release() {
41
        super.release();
42
        super.release();
42
        init();
43
        init();
Lines 46-51 Link Here
46
    //*********************************************************************
47
    //*********************************************************************
47
    // Supplied conditional logic
48
    // Supplied conditional logic
48
49
50
    @Override
49
    protected boolean condition() {
51
    protected boolean condition() {
50
        return test;
52
        return test;
51
    }
53
    }
(-)impl/src/main/java/org/apache/taglibs/standard/tag/rt/sql/TransactionTag.java (+2 lines)
Lines 44-53 Link Here
44
    /**
44
    /**
45
     * Setter method for the Transaction Isolation level.
45
     * Setter method for the Transaction Isolation level.
46
     */
46
     */
47
    @Override
47
    public void setIsolation(String isolation) {
48
    public void setIsolation(String isolation) {
48
	this.isolationRT = isolation;
49
	this.isolationRT = isolation;
49
    }
50
    }
50
51
52
    @Override
51
    public int doStartTag() throws JspException {
53
    public int doStartTag() throws JspException {
52
	if (isolationRT != null)
54
	if (isolationRT != null)
53
          super.setIsolation(isolationRT);
55
          super.setIsolation(isolationRT);
(-)impl/src/main/java/org/apache/taglibs/standard/tei/DeclareTEI.java (+1 lines)
Lines 33-38 Link Here
33
public class DeclareTEI extends TagExtraInfo {
33
public class DeclareTEI extends TagExtraInfo {
34
34
35
    // purposely inherit JavaDoc and semantics from TagExtraInfo
35
    // purposely inherit JavaDoc and semantics from TagExtraInfo
36
    @Override
36
    public VariableInfo[] getVariableInfo(TagData data) {
37
    public VariableInfo[] getVariableInfo(TagData data) {
37
        // construct the relevant VariableInfo object
38
        // construct the relevant VariableInfo object
38
        VariableInfo id = new VariableInfo(
39
        VariableInfo id = new VariableInfo(
(-)impl/src/main/java/org/apache/taglibs/standard/tei/ForEachTEI.java (+1 lines)
Lines 37-42 Link Here
37
     * 
37
     * 
38
     * - If 'items' is not specified, 'begin' and 'end' must be
38
     * - If 'items' is not specified, 'begin' and 'end' must be
39
     */
39
     */
40
    @Override
40
    public boolean isValid(TagData us) {
41
    public boolean isValid(TagData us) {
41
        if (!Util.isSpecified(us, ITEMS))
42
        if (!Util.isSpecified(us, ITEMS))
42
            if (!Util.isSpecified(us, BEGIN) || !(Util.isSpecified(us, END)))
43
            if (!Util.isSpecified(us, BEGIN) || !(Util.isSpecified(us, END)))
(-)impl/src/main/java/org/apache/taglibs/standard/tei/ImportTEI.java (+1 lines)
Lines 31-36 Link Here
31
    final private static String VAR = "var";
31
    final private static String VAR = "var";
32
    final private static String VAR_READER = "varReader";
32
    final private static String VAR_READER = "varReader";
33
33
34
    @Override
34
    public boolean isValid(TagData us) {
35
    public boolean isValid(TagData us) {
35
	// don't allow both VAR and VAR_READER, together
36
	// don't allow both VAR and VAR_READER, together
36
	if (Util.isSpecified(us, VAR) && Util.isSpecified(us, VAR_READER))
37
	if (Util.isSpecified(us, VAR) && Util.isSpecified(us, VAR_READER))
(-)impl/src/main/java/org/apache/taglibs/standard/tei/XmlParseTEI.java (+1 lines)
Lines 33-38 Link Here
33
    final private static String SCOPE = "scope";
33
    final private static String SCOPE = "scope";
34
    final private static String SCOPE_DOM = "scopeDom";
34
    final private static String SCOPE_DOM = "scopeDom";
35
35
36
    @Override
36
    public boolean isValid(TagData us) {
37
    public boolean isValid(TagData us) {
37
	// must have no more than one of VAR and VAR_DOM ...
38
	// must have no more than one of VAR and VAR_DOM ...
38
	if (Util.isSpecified(us, VAR) && Util.isSpecified(us, VAR_DOM))
39
	if (Util.isSpecified(us, VAR) && Util.isSpecified(us, VAR_DOM))
(-)impl/src/main/java/org/apache/taglibs/standard/tei/XmlTransformTEI.java (+1 lines)
Lines 32-37 Link Here
32
    final private static String RESULT = "result";
32
    final private static String RESULT = "result";
33
    final private static String VAR = "var";
33
    final private static String VAR = "var";
34
34
35
    @Override
35
    public boolean isValid(TagData us) {
36
    public boolean isValid(TagData us) {
36
	// require XSLT
37
	// require XSLT
37
	if (!Util.isSpecified(us, XSLT))
38
	if (!Util.isSpecified(us, XSLT))
(-)impl/src/main/java/org/apache/taglibs/standard/tlv/JstlBaseTLV.java (+1 lines)
Lines 111-116 Link Here
111
	config = null;
111
	config = null;
112
    }
112
    }
113
113
114
    @Override
114
    public void release() {
115
    public void release() {
115
	super.release();
116
	super.release();
116
	init();
117
	init();
(-)impl/src/main/java/org/apache/taglibs/standard/tlv/JstlCoreTLV.java (-3 / +8 lines)
Lines 92-97 Link Here
92
92
93
    //*********************************************************************
93
    //*********************************************************************
94
    // set its type and delegate validation to super-class
94
    // set its type and delegate validation to super-class
95
    @Override
95
    public  ValidationMessage[] validate(
96
    public  ValidationMessage[] validate(
96
	    String prefix, String uri, PageData page) {
97
	    String prefix, String uri, PageData page) {
97
	return super.validate( TYPE_CORE, prefix, uri, page );
98
	return super.validate( TYPE_CORE, prefix, uri, page );
Lines 101-106 Link Here
101
    //*********************************************************************
102
    //*********************************************************************
102
    // Contract fulfillment
103
    // Contract fulfillment
103
104
105
    @Override
104
    protected DefaultHandler getHandler() {
106
    protected DefaultHandler getHandler() {
105
	return new Handler();
107
	return new Handler();
106
    }
108
    }
Lines 123-129 Link Here
123
	private boolean bodyIllegal = false;
125
	private boolean bodyIllegal = false;
124
126
125
	// process under the existing context (state), then modify it
127
	// process under the existing context (state), then modify it
126
	public void startElement(
128
	@Override
129
    public void startElement(
127
	        String ns, String ln, String qn, Attributes a) {
130
	        String ns, String ln, String qn, Attributes a) {
128
131
129
	    // substitute our own parsed 'ln' if it's not provided
132
	    // substitute our own parsed 'ln' if it's not provided
Lines 254-260 Link Here
254
	    depth++;
257
	    depth++;
255
	}
258
	}
256
259
257
	public void characters(char[] ch, int start, int length) {
260
	@Override
261
    public void characters(char[] ch, int start, int length) {
258
262
259
	    bodyNecessary = false;		// body is no longer necessary!
263
	    bodyNecessary = false;		// body is no longer necessary!
260
264
Lines 284-290 Link Here
284
	    }
288
	    }
285
	}
289
	}
286
290
287
	public void endElement(String ns, String ln, String qn) {
291
	@Override
292
    public void endElement(String ns, String ln, String qn) {
288
293
289
	    // consistently, we ignore JSP_TEXT
294
	    // consistently, we ignore JSP_TEXT
290
	    if (isJspTag(ns, ln, TEXT))
295
	    if (isJspTag(ns, ln, TEXT))
(-)impl/src/main/java/org/apache/taglibs/standard/tlv/JstlFmtTLV.java (-3 / +8 lines)
Lines 92-97 Link Here
92
92
93
    //*********************************************************************
93
    //*********************************************************************
94
    // set its type and delegate validation to super-class
94
    // set its type and delegate validation to super-class
95
    @Override
95
    public  ValidationMessage[] validate(
96
    public  ValidationMessage[] validate(
96
	    String prefix, String uri, PageData page) {
97
	    String prefix, String uri, PageData page) {
97
	return super.validate( TYPE_FMT, prefix, uri, page );
98
	return super.validate( TYPE_FMT, prefix, uri, page );
Lines 101-106 Link Here
101
    //*********************************************************************
102
    //*********************************************************************
102
    // Contract fulfillment
103
    // Contract fulfillment
103
104
105
    @Override
104
    protected DefaultHandler getHandler() {
106
    protected DefaultHandler getHandler() {
105
	return new Handler();
107
	return new Handler();
106
    }
108
    }
Lines 120-126 Link Here
120
	private boolean bodyIllegal = false;
122
	private boolean bodyIllegal = false;
121
123
122
	// process under the existing context (state), then modify it
124
	// process under the existing context (state), then modify it
123
	public void startElement(
125
	@Override
126
    public void startElement(
124
	        String ns, String ln, String qn, Attributes a) {
127
	        String ns, String ln, String qn, Attributes a) {
125
128
126
            // substitute our own parsed 'ln' if it's not provided
129
            // substitute our own parsed 'ln' if it's not provided
Lines 217-223 Link Here
217
	    depth++;
220
	    depth++;
218
	}
221
	}
219
222
220
	public void characters(char[] ch, int start, int length) {
223
	@Override
224
    public void characters(char[] ch, int start, int length) {
221
225
222
	    bodyNecessary = false;		// body is no longer necessary!
226
	    bodyNecessary = false;		// body is no longer necessary!
223
227
Lines 232-238 Link Here
232
					  lastElementName));
236
					  lastElementName));
233
	}
237
	}
234
238
235
	public void endElement(String ns, String ln, String qn) {
239
	@Override
240
    public void endElement(String ns, String ln, String qn) {
236
241
237
	    // consistently, we ignore JSP_TEXT
242
	    // consistently, we ignore JSP_TEXT
238
	    if (qn.equals(JSP_TEXT))
243
	    if (qn.equals(JSP_TEXT))
(-)impl/src/main/java/org/apache/taglibs/standard/tlv/JstlSqlTLV.java (-3 / +8 lines)
Lines 54-59 Link Here
54
54
55
    //*********************************************************************
55
    //*********************************************************************
56
    // set its type and delegate validation to super-class
56
    // set its type and delegate validation to super-class
57
    @Override
57
    public  ValidationMessage[] validate(
58
    public  ValidationMessage[] validate(
58
	    String prefix, String uri, PageData page) {
59
	    String prefix, String uri, PageData page) {
59
	return super.validate( TYPE_SQL, prefix, uri, page );
60
	return super.validate( TYPE_SQL, prefix, uri, page );
Lines 63-68 Link Here
63
    //*********************************************************************
64
    //*********************************************************************
64
    // Contract fulfillment
65
    // Contract fulfillment
65
66
67
    @Override
66
    protected DefaultHandler getHandler() {
68
    protected DefaultHandler getHandler() {
67
	return new Handler();
69
	return new Handler();
68
    }
70
    }
Lines 84-90 Link Here
84
	private boolean bodyIllegal = false;
86
	private boolean bodyIllegal = false;
85
87
86
	// process under the existing context (state), then modify it
88
	// process under the existing context (state), then modify it
87
	public void startElement(
89
	@Override
90
    public void startElement(
88
	        String ns, String ln, String qn, Attributes a) {
91
	        String ns, String ln, String qn, Attributes a) {
89
92
90
	    // substitute our own parsed 'ln' if it's not provided
93
	    // substitute our own parsed 'ln' if it's not provided
Lines 185-191 Link Here
185
	    depth++;
188
	    depth++;
186
	}
189
	}
187
190
188
	public void characters(char[] ch, int start, int length) {
191
	@Override
192
    public void characters(char[] ch, int start, int length) {
189
193
190
	    bodyNecessary = false;		// body is no longer necessary!
194
	    bodyNecessary = false;		// body is no longer necessary!
191
195
Lines 199-205 Link Here
199
		fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName));
203
		fail(Resources.getMessage("TLV_ILLEGAL_BODY", lastElementName));
200
	}
204
	}
201
205
202
	public void endElement(String ns, String ln, String qn) {
206
	@Override
207
    public void endElement(String ns, String ln, String qn) {
203
208
204
	    // consistently, we ignore JSP_TEXT
209
	    // consistently, we ignore JSP_TEXT
205
	    if (qn.equals(JSP_TEXT))
210
	    if (qn.equals(JSP_TEXT))
(-)impl/src/main/java/org/apache/taglibs/standard/tlv/JstlXmlTLV.java (-3 / +8 lines)
Lines 87-92 Link Here
87
87
88
    //*********************************************************************
88
    //*********************************************************************
89
    // set its type and delegate validation to super-class
89
    // set its type and delegate validation to super-class
90
    @Override
90
    public  ValidationMessage[] validate(
91
    public  ValidationMessage[] validate(
91
	    String prefix, String uri, PageData page) {
92
	    String prefix, String uri, PageData page) {
92
	return super.validate( TYPE_XML, prefix, uri, page );
93
	return super.validate( TYPE_XML, prefix, uri, page );
Lines 96-101 Link Here
96
    //*********************************************************************
97
    //*********************************************************************
97
    // Contract fulfillment
98
    // Contract fulfillment
98
99
100
    @Override
99
    protected DefaultHandler getHandler() {
101
    protected DefaultHandler getHandler() {
100
	return new Handler();
102
	return new Handler();
101
    }
103
    }
Lines 118-124 Link Here
118
	private Stack transformWithSource = new Stack();
120
	private Stack transformWithSource = new Stack();
119
121
120
	// process under the existing context (state), then modify it
122
	// process under the existing context (state), then modify it
121
	public void startElement(
123
	@Override
124
    public void startElement(
122
	        String ns, String ln, String qn, Attributes a) {
125
	        String ns, String ln, String qn, Attributes a) {
123
126
124
            // substitute our own parsed 'ln' if it's not provided
127
            // substitute our own parsed 'ln' if it's not provided
Lines 232-238 Link Here
232
	    depth++;
235
	    depth++;
233
	}
236
	}
234
237
235
	public void characters(char[] ch, int start, int length) {
238
	@Override
239
    public void characters(char[] ch, int start, int length) {
236
240
237
	    bodyNecessary = false;		// body is no longer necessary!
241
	    bodyNecessary = false;		// body is no longer necessary!
238
242
Lines 262-268 Link Here
262
            }
266
            }
263
	}
267
	}
264
268
265
	public void endElement(String ns, String ln, String qn) {
269
	@Override
270
    public void endElement(String ns, String ln, String qn) {
266
271
267
	    // consistently, we ignore JSP_TEXT
272
	    // consistently, we ignore JSP_TEXT
268
	    if (qn.equals(JSP_TEXT))
273
	    if (qn.equals(JSP_TEXT))
(-)impl/src/test/java/org/apache/taglibs/standard/VersionTest.java (+2 lines)
Lines 27-37 Link Here
27
        super(name);
27
        super(name);
28
    }
28
    }
29
29
30
    @Override
30
    protected void setUp() throws Exception {
31
    protected void setUp() throws Exception {
31
        super.setUp();
32
        super.setUp();
32
        version = new Version();
33
        version = new Version();
33
    }
34
    }
34
35
36
    @Override
35
    protected void tearDown() throws Exception {
37
    protected void tearDown() throws Exception {
36
        version = null;
38
        version = null;
37
        super.tearDown();
39
        super.tearDown();
(-)spec/src/main/java/javax/servlet/jsp/jstl/core/ConditionalTagSupport.java (+2 lines)
Lines 79-84 Link Here
79
    /**
79
    /**
80
     * Includes its body if <tt>condition()</tt> evaluates to true.
80
     * Includes its body if <tt>condition()</tt> evaluates to true.
81
     */
81
     */
82
    @Override
82
    public int doStartTag() throws JspException {
83
    public int doStartTag() throws JspException {
83
84
84
        // execute our condition() method once per invocation
85
        // execute our condition() method once per invocation
Lines 97-102 Link Here
97
    /**
98
    /**
98
     * Releases any resources this ConditionalTagSupport may have (or inherit).
99
     * Releases any resources this ConditionalTagSupport may have (or inherit).
99
     */
100
     */
101
    @Override
100
    public void release() {
102
    public void release() {
101
        super.release();
103
        super.release();
102
        init();
104
        init();
(-)spec/src/main/java/javax/servlet/jsp/jstl/core/IndexedValueExpression.java (+9 lines)
Lines 53-58 Link Here
53
        this.i = i;
53
        this.i = i;
54
    }
54
    }
55
55
56
    @Override
56
    public boolean equals(Object o) {
57
    public boolean equals(Object o) {
57
        if (this == o) return true;
58
        if (this == o) return true;
58
        if (o == null || getClass() != o.getClass()) return false;
59
        if (o == null || getClass() != o.getClass()) return false;
Lines 61-94 Link Here
61
        return i.equals(that.i) && orig.equals(that.orig);
62
        return i.equals(that.i) && orig.equals(that.orig);
62
    }
63
    }
63
64
65
    @Override
64
    public Class getExpectedType() {
66
    public Class getExpectedType() {
65
        return orig.getExpectedType();
67
        return orig.getExpectedType();
66
    }
68
    }
67
69
70
    @Override
68
    public String getExpressionString() {
71
    public String getExpressionString() {
69
        return orig.getExpressionString();
72
        return orig.getExpressionString();
70
    }
73
    }
71
74
75
    @Override
72
    public Class getType(ELContext elContext) {
76
    public Class getType(ELContext elContext) {
73
        return elContext.getELResolver().getType(elContext, orig.getValue(elContext), i);
77
        return elContext.getELResolver().getType(elContext, orig.getValue(elContext), i);
74
    }
78
    }
75
79
80
    @Override
76
    public Object getValue(ELContext elContext) {
81
    public Object getValue(ELContext elContext) {
77
        return elContext.getELResolver().getValue(elContext, orig.getValue(elContext), i);
82
        return elContext.getELResolver().getValue(elContext, orig.getValue(elContext), i);
78
    }
83
    }
79
84
85
    @Override
80
    public int hashCode() {
86
    public int hashCode() {
81
        return orig.hashCode()+i;
87
        return orig.hashCode()+i;
82
    }
88
    }
83
89
90
    @Override
84
    public boolean isLiteralText() {
91
    public boolean isLiteralText() {
85
        return false;
92
        return false;
86
    }
93
    }
87
94
95
    @Override
88
    public boolean isReadOnly(ELContext elContext) {
96
    public boolean isReadOnly(ELContext elContext) {
89
        return elContext.getELResolver().isReadOnly(elContext, orig.getValue(elContext), i);
97
        return elContext.getELResolver().isReadOnly(elContext, orig.getValue(elContext), i);
90
    }
98
    }
91
99
100
    @Override
92
    public void setValue(ELContext elContext, Object arg1) {
101
    public void setValue(ELContext elContext, Object arg1) {
93
        elContext.getELResolver().setValue(elContext, orig.getValue(elContext), i, arg1);
102
        elContext.getELResolver().setValue(elContext, orig.getValue(elContext), i, arg1);
94
    }
103
    }
(-)spec/src/main/java/javax/servlet/jsp/jstl/core/IteratedValueExpression.java (+9 lines)
Lines 39-44 Link Here
39
        this.i = i;
39
        this.i = i;
40
    }
40
    }
41
    
41
    
42
    @Override
42
    public boolean equals(Object obj) {
43
    public boolean equals(Object obj) {
43
        if (this == obj) return true;
44
        if (this == obj) return true;
44
        if (obj == null || getClass() != obj.getClass()) return false;
45
        if (obj == null || getClass() != obj.getClass()) return false;
Lines 47-80 Link Here
47
        return i == that.i && iteratedExpression.equals(that.iteratedExpression);
48
        return i == that.i && iteratedExpression.equals(that.iteratedExpression);
48
    }
49
    }
49
50
51
    @Override
50
    public Class getExpectedType() {
52
    public Class getExpectedType() {
51
        return iteratedExpression.getValueExpression().getExpectedType();
53
        return iteratedExpression.getValueExpression().getExpectedType();
52
    }
54
    }
53
55
56
    @Override
54
    public String getExpressionString() {
57
    public String getExpressionString() {
55
        return iteratedExpression.getValueExpression().getExpressionString();
58
        return iteratedExpression.getValueExpression().getExpressionString();
56
    }
59
    }
57
60
61
    @Override
58
    public Class getType(ELContext elContext) {
62
    public Class getType(ELContext elContext) {
59
        return iteratedExpression.getValueExpression().getType(elContext); 
63
        return iteratedExpression.getValueExpression().getType(elContext); 
60
    }
64
    }
61
65
66
    @Override
62
    public Object getValue(ELContext elContext) {
67
    public Object getValue(ELContext elContext) {
63
        return iteratedExpression.getItem(elContext, i); 
68
        return iteratedExpression.getItem(elContext, i); 
64
    }
69
    }
65
70
71
    @Override
66
    public int hashCode() {
72
    public int hashCode() {
67
        return iteratedExpression.hashCode()+i;
73
        return iteratedExpression.hashCode()+i;
68
    }
74
    }
69
75
76
    @Override
70
    public boolean isLiteralText() {
77
    public boolean isLiteralText() {
71
        return false;
78
        return false;
72
    }
79
    }
73
80
81
    @Override
74
    public boolean isReadOnly(ELContext elContext) {
82
    public boolean isReadOnly(ELContext elContext) {
75
        return true;
83
        return true;
76
    }
84
    }
77
85
86
    @Override
78
    public void setValue(ELContext elContext, Object arg1) {
87
    public void setValue(ELContext elContext, Object arg1) {
79
    }
88
    }
80
89
(-)spec/src/main/java/javax/servlet/jsp/jstl/core/LoopTagSupport.java (+3 lines)
Lines 209-214 Link Here
209
    /**
209
    /**
210
     * Releases any resources this LoopTagSupport may have (or inherit).
210
     * Releases any resources this LoopTagSupport may have (or inherit).
211
     */
211
     */
212
    @Override
212
    public void release() {
213
    public void release() {
213
        super.release();
214
        super.release();
214
        init();
215
        init();
Lines 217-222 Link Here
217
    /**
218
    /**
218
     * Begins iterating by processing the first item.
219
     * Begins iterating by processing the first item.
219
     */
220
     */
221
    @Override
220
    public int doStartTag() throws JspException {
222
    public int doStartTag() throws JspException {
221
        if (end != -1 && begin > end) {
223
        if (end != -1 && begin > end) {
222
            // JSTL 1.1. We simply do not execute the loop.
224
            // JSTL 1.1. We simply do not execute the loop.
Lines 257-262 Link Here
257
     * Continues the iteration when appropriate -- that is, if we (a) have
259
     * Continues the iteration when appropriate -- that is, if we (a) have
258
     * more items and (b) don't run over our 'end' (given our 'step').
260
     * more items and (b) don't run over our 'end' (given our 'step').
259
     */
261
     */
262
    @Override
260
    public int doAfterBody() throws JspException {
263
    public int doAfterBody() throws JspException {
261
264
262
        // re-sync the index, given our prior behind-the-scenes 'step'
265
        // re-sync the index, given our prior behind-the-scenes 'step'
(-)spec/src/main/java/javax/servlet/jsp/jstl/tlv/PermittedTaglibsTLV.java (+3 lines)
Lines 84-89 Link Here
84
	permittedTaglibs = null;
84
	permittedTaglibs = null;
85
    }
85
    }
86
86
87
    @Override
87
    public void release() {
88
    public void release() {
88
	super.release();
89
	super.release();
89
	init();
90
	init();
Lines 93-98 Link Here
93
    //*********************************************************************
94
    //*********************************************************************
94
    // Validation entry point
95
    // Validation entry point
95
96
97
    @Override
96
    public synchronized ValidationMessage[] validate(
98
    public synchronized ValidationMessage[] validate(
97
	    String prefix, String uri, PageData page) {
99
	    String prefix, String uri, PageData page) {
98
	try {
100
	try {
Lines 164-169 Link Here
164
    private class PermittedTaglibsHandler extends DefaultHandler {
166
    private class PermittedTaglibsHandler extends DefaultHandler {
165
167
166
        // if the element is <jsp:root>, check its "xmlns:" attributes
168
        // if the element is <jsp:root>, check its "xmlns:" attributes
169
        @Override
167
        public void startElement(
170
        public void startElement(
168
                String ns, String ln, String qn, Attributes a) {
171
                String ns, String ln, String qn, Attributes a) {
169
172
(-)spec/src/main/java/javax/servlet/jsp/jstl/tlv/ScriptFreeTLV.java (-2 / +5 lines)
Lines 77-83 Link Here
77
   * @param initParms a mapping from the names of the initialization parameters
77
   * @param initParms a mapping from the names of the initialization parameters
78
   * to their values, as specified in the TLD.
78
   * to their values, as specified in the TLD.
79
   */
79
   */
80
  public void setInitParameters (Map<java.lang.String, java.lang.Object> initParms) {
80
  @Override
81
public void setInitParameters (Map<java.lang.String, java.lang.Object> initParms) {
81
    super.setInitParameters(initParms);
82
    super.setInitParameters(initParms);
82
    String declarationsParm = (String) initParms.get("allowDeclarations");
83
    String declarationsParm = (String) initParms.get("allowDeclarations");
83
    String scriptletsParm = (String) initParms.get("allowScriptlets");
84
    String scriptletsParm = (String) initParms.get("allowScriptlets");
Lines 101-107 Link Here
101
   * @return null, if the page is valid; otherwise, a ValidationMessage[]
102
   * @return null, if the page is valid; otherwise, a ValidationMessage[]
102
   * containing one or more messages indicating why the page is not valid.
103
   * containing one or more messages indicating why the page is not valid.
103
   */
104
   */
104
  public ValidationMessage[] validate
105
  @Override
106
public ValidationMessage[] validate
105
      (String prefix, String uri, PageData page) {
107
      (String prefix, String uri, PageData page) {
106
    InputStream in = null;
108
    InputStream in = null;
107
    SAXParser parser;
109
    SAXParser parser;
Lines 150-155 Link Here
150
     * which attributes actually support request-time attribute values
152
     * which attributes actually support request-time attribute values
151
     * and checking only those is far more trouble than it's worth.)
153
     * and checking only those is far more trouble than it's worth.)
152
     */
154
     */
155
    @Override
153
    public void startElement (String namespaceUri, 
156
    public void startElement (String namespaceUri, 
154
			      String localName, String qualifiedName,
157
			      String localName, String qualifiedName,
155
			      Attributes atts) {
158
			      Attributes atts) {
(-)standard-test/src/test/java/org/apache/taglibs/standard/functions/TestEndsWith.java (+2 lines)
Lines 28-37 Link Here
28
        super(name);
28
        super(name);
29
    }
29
    }
30
30
31
    @Override
31
    protected void setUp() throws Exception {
32
    protected void setUp() throws Exception {
32
        super.setUp();
33
        super.setUp();
33
    }
34
    }
34
35
36
    @Override
35
    protected void tearDown() throws Exception {
37
    protected void tearDown() throws Exception {
36
        super.tearDown();
38
        super.tearDown();
37
    }
39
    }
(-)standard-test/src/test/java/org/apache/taglibs/standard/tag/el/core/Test34109.java (+2 lines)
Lines 27-36 Link Here
27
	super(name);
27
	super(name);
28
    }
28
    }
29
29
30
    @Override
30
    protected void setUp() throws Exception {
31
    protected void setUp() throws Exception {
31
	super.setUp();
32
	super.setUp();
32
    }
33
    }
33
34
35
    @Override
34
    protected void tearDown() throws Exception {
36
    protected void tearDown() throws Exception {
35
	super.tearDown();
37
	super.tearDown();
36
    }
38
    }
(-)standard-test/src/test/java/org/apache/taglibs/standard/tag/el/core/Test37466.java (+2 lines)
Lines 29-38 Link Here
29
	super(name);
29
	super(name);
30
    }
30
    }
31
31
32
    @Override
32
    protected void setUp() throws Exception {
33
    protected void setUp() throws Exception {
33
	super.setUp();
34
	super.setUp();
34
    }
35
    }
35
36
37
    @Override
36
    protected void tearDown() throws Exception {
38
    protected void tearDown() throws Exception {
37
	super.tearDown();
39
	super.tearDown();
38
    }
40
    }
(-)standard-test/src/test/java/org/apache/taglibs/standard/tag/el/core/TestSetTag.java (+2 lines)
Lines 29-38 Link Here
29
        super(name);
29
        super(name);
30
    }
30
    }
31
31
32
    @Override
32
    protected void setUp() throws Exception {
33
    protected void setUp() throws Exception {
33
        super.setUp();
34
        super.setUp();
34
    }
35
    }
35
36
37
    @Override
36
    protected void tearDown() throws Exception {
38
    protected void tearDown() throws Exception {
37
        super.tearDown();
39
        super.tearDown();
38
    }
40
    }
(-)standard-test/src/test/java/org/apache/taglibs/standard/tag/el/fmt/TestDateTag.java (+2 lines)
Lines 27-36 Link Here
27
        super(name);
27
        super(name);
28
    }
28
    }
29
29
30
    @Override
30
    protected void setUp() throws Exception {
31
    protected void setUp() throws Exception {
31
        super.setUp();
32
        super.setUp();
32
    }
33
    }
33
34
35
    @Override
34
    protected void tearDown() throws Exception {
36
    protected void tearDown() throws Exception {
35
        super.tearDown();
37
        super.tearDown();
36
    }
38
    }
(-)standard-test/src/test/java/org/apache/taglibs/standard/tag/el/sql/Test33054.java (+2 lines)
Lines 28-33 Link Here
28
        super(name);
28
        super(name);
29
    }
29
    }
30
30
31
    @Override
31
    protected void setUp() throws Exception {
32
    protected void setUp() throws Exception {
32
        super.setUp();
33
        super.setUp();
33
        Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
34
        Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
Lines 47-52 Link Here
47
        conn.close();
48
        conn.close();
48
    }
49
    }
49
50
51
    @Override
50
    protected void tearDown() throws Exception {
52
    protected void tearDown() throws Exception {
51
        super.tearDown();
53
        super.tearDown();
52
        Connection conn = DriverManager.getConnection("jdbc:derby:cactustest");
54
        Connection conn = DriverManager.getConnection("jdbc:derby:cactustest");
(-)standard-test/src/test/java/org/apache/taglibs/standard/tag/el/sql/Test43831.java (+2 lines)
Lines 28-33 Link Here
28
        super(name);
28
        super(name);
29
    }
29
    }
30
30
31
    @Override
31
    protected void setUp() throws Exception {
32
    protected void setUp() throws Exception {
32
        super.setUp();
33
        super.setUp();
33
        Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
34
        Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
Lines 47-52 Link Here
47
        conn.close();
48
        conn.close();
48
    }
49
    }
49
50
51
    @Override
50
    protected void tearDown() throws Exception {
52
    protected void tearDown() throws Exception {
51
        super.tearDown();
53
        super.tearDown();
52
        Connection conn = DriverManager.getConnection("jdbc:derby:cactustest");
54
        Connection conn = DriverManager.getConnection("jdbc:derby:cactustest");
(-)standard-test/src/test/java/org/apache/taglibs/standard/tag/el/xml/Test30068.java (+2 lines)
Lines 27-36 Link Here
27
        super(name);
27
        super(name);
28
    }
28
    }
29
29
30
    @Override
30
    protected void setUp() throws Exception {
31
    protected void setUp() throws Exception {
31
        super.setUp();
32
        super.setUp();
32
    }
33
    }
33
34
35
    @Override
34
    protected void tearDown() throws Exception {
36
    protected void tearDown() throws Exception {
35
        super.tearDown();
37
        super.tearDown();
36
    }
38
    }
(-)standard-test/src/test/java/org/apache/taglibs/standard/tag/el/xml/Test35216.java (+2 lines)
Lines 27-36 Link Here
27
        super(name);
27
        super(name);
28
    }
28
    }
29
29
30
    @Override
30
    protected void setUp() throws Exception {
31
    protected void setUp() throws Exception {
31
        super.setUp();
32
        super.setUp();
32
    }
33
    }
33
34
35
    @Override
34
    protected void tearDown() throws Exception {
36
    protected void tearDown() throws Exception {
35
        super.tearDown();
37
        super.tearDown();
36
    }
38
    }

Return to bug 50264