Fix compile problem with jdk 6

This commit is contained in:
Andreas Gudian 2013-09-14 19:39:53 +02:00 committed by Gunnar Morling
parent d38a72c534
commit dddfdf1a70
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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() {