#636 - adapt integration test for default and static interface methods (Java8) to eclipse compiler problem

This commit is contained in:
sjaakd 2015-09-13 23:22:01 +02:00
parent 45db85a7be
commit 18532ace8c
2 changed files with 9 additions and 7 deletions

View File

@ -23,12 +23,6 @@ import org.mapstruct.Mapper;
@Mapper
public interface SourceTargetBaseMapper {
// TODO.. move default and static interface method here when problem in eclipse processor is fixed.
default Foo fooFromId(long id) {
return new Foo(id);
}
static Bar barFromId(String id) {
return new Bar(id);
}
}

View File

@ -33,4 +33,12 @@ public interface SourceTargetMapper extends SourceTargetBaseMapper {
})
Target mapSourceToTarget(Source source);
default Foo fooFromId(long id) {
return new Foo(id);
}
static Bar barFromId(String id) {
return new Bar(id);
}
}