GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Bean with getter returning Stream is treating the Stream as an alternative setter · Issue #3462 · mapstruct/mapstruct Closed DescriptionExpected behaviorA getter returning a Actual behaviorThe getter is treated as an alternative setter Steps to reproduce the problempublic static class Foo { List<String> values; public List<String> getValues() { return values; } public void setValues(List<String> values) { this.values = values; } } public static class Bar { List<String> values; public List<String> getValues() { return this.values; } public void setValues(List<String> values) { this.values = values; } // This is the root of the problem; try replacing with any non-collection type. public Stream<String> getX() { throw new UnsupportedOperationException(); } } @Mapper public interface BarMapper { @Mapping(target = "values", source = "values") Bar toBar(Foo foo); } From #3425 MapStruct Version1.5.5.Final / 1.6.0.Beta1 Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |