mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Fix compile problem with jdk 6
This commit is contained in:
parent
d38a72c534
commit
dddfdf1a70
@ -63,7 +63,7 @@ public class ErroneousCollectionMappingTest extends MapperTestBase {
|
|||||||
kind = Kind.ERROR,
|
kind = Kind.ERROR,
|
||||||
line = 26,
|
line = 26,
|
||||||
messageRegExp = "Can't map property \"java\\.util\\.Set<java\\.lang\\.String> fooSet\" to" +
|
messageRegExp = "Can't map property \"java\\.util\\.Set<java\\.lang\\.String> fooSet\" to" +
|
||||||
" \"java\\.util\\.Set<java\\.lang\\.Long> fooSet\""),
|
" \"java\\.util\\.Set<java\\.lang\\.Long> fooSet\"" )
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
public void shouldFailToGenerateImplementationDueToDifferentlyParameterizedCollections() {
|
public void shouldFailToGenerateImplementationDueToDifferentlyParameterizedCollections() {
|
||||||
|
@ -60,7 +60,7 @@ public class ErroneousMappingsTest extends MapperTestBase {
|
|||||||
@Diagnostic(type = ErroneousMapper.class,
|
@Diagnostic(type = ErroneousMapper.class,
|
||||||
kind = Kind.WARNING,
|
kind = Kind.WARNING,
|
||||||
line = 36,
|
line = 36,
|
||||||
messageRegExp = "Unmapped target property: \"bar\""),
|
messageRegExp = "Unmapped target property: \"bar\"")
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
public void shouldFailToGenerateMappings() {
|
public void shouldFailToGenerateMappings() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user