[ 
https://issues.apache.org/jira/browse/MNG-8490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17916691#comment-17916691
 ] 

Elliotte Rusty Harold commented on MNG-8490:
--------------------------------------------

On the mocking point specifically, that hasn't been true for a very long time. 
Mockito, EasyMock, etc., can all mock concrete and even final classes without 
any trouble. Using interfaces is absolutely not required. I vaguely recall this 
being a problem circa 2005 and maybe Java 1.2, but it really no longer is an 
issue.

> Combine XmlNode and XmlNodeImpl
> -------------------------------
>
>                 Key: MNG-8490
>                 URL: https://issues.apache.org/jira/browse/MNG-8490
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: API
>            Reporter: Elliotte Rusty Harold
>            Priority: Blocker
>              Labels: up-for-grabs
>
> Single use interfaces are an antipattern. Make everything simpler by having a 
> single concrete XmlNode class.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to