Re: ant git commit: Use fewer fully qualified class names

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: ant git commit: Use fewer fully qualified class names

Stefan Bodewig
On 2018-05-21, <[hidden email]> 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: [hidden email]
For additional commands, e-mail: [hidden email]