<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=hc" rel="nofollow">HC</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7728?redirect=false" rel="nofollow">SPR-7728</a></strong> and commented</p>
<p dir="auto">CollectionToCollectionConverter returns the original source object if the collection is empty. Relevant source code is attached (see convertEmptyVector_shouldReturnEmptyArrayList unit test)</p>
<p dir="auto">Best Regards</p>
<p dir="auto">Horatiu</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0.4</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/17343/CollectionToCollectionConverterTest.java" rel="nofollow">CollectionToCollectionConverterTest.java</a> (<em>1.44 kB</em>)</li>
</ul>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398113677" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13198" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13198/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13198">#13198</a> MapToMapConverter invalidly returns source map for empty maps (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/58d68cef986aaaf4b6a296b234f8ca4744d357e3/hovercard" href="https://github.com/spring-projects/spring-framework/commit/58d68cef986aaaf4b6a296b234f8ca4744d357e3"><tt>58d68ce</tt></a></p>
<p dir="auto"><strong>Backported to:</strong> <a href="https://github.com/spring-projects/spring-framework/milestone/74?closed=1">3.0.7</a></p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=djpotter77" rel="nofollow">Daniel Potter</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2483?redirect=false" rel="nofollow">SPR-2483</a></strong> and commented</p>
<p dir="auto">When DEBUG logging level is turned on the toString() method of RegexpMethodPointcutAdvisor is invoked prior to the setPatterns() method being called to populate the patterns property of the advisor.  The toString() method invokes getPointcut() which creates the pointcut and attempts to set the patterns used on the pointcut.  The setPatterns() method includes an Assert.notEmpty() on the patterns argument.  When this assertion is fired (again, this only happens with a DEBUG log level), the patterns property has not yet been set, which causes the assertion (and therefore the bean creation) to fail.  A workaround for this is to use constructor-arg injection to set the patterns and advice.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 2.0 RC3</p>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398069511" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7130" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7130/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7130">#7130</a> Simple RegexpMethodPointcutAdvisor configuration failing in 2.0-rc3 (<em><strong>"duplicates"</strong></em>)</li>
</ul>