ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ant git commit: Use fewer fully qualified class names
Date Tue, 22 May 2018 20:09:37 GMT
On 2018-05-21, <gintas@apache.org> wrote:

> ----------------------------------------------------------------------
> diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.java
b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/DescriptorHandler.java

> @@ -97,7 +98,7 @@ public class DescriptorHandler extends HandlerBase {
>       * put into the jar file, mapped to File objects  Accessed by the SAX
>       * parser call-back method characters().
>       */
> -    protected Hashtable<String, File> ejbFiles = null;
> +    protected Map<String, File> ejbFiles = null;

breaks backwards compatibility for subclasses invoking, say, elements()
on ejbFiles.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message