enable JPATraversableResolver to introspect test domain classes
This commit is contained in:
parent
bc1abe6070
commit
7f90e3bcf7
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2009 the original author or authors.
|
* Copyright 2002-2010 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -131,7 +131,7 @@ public class ValidatorFactoryTests {
|
||||||
|
|
||||||
|
|
||||||
@NameAddressValid
|
@NameAddressValid
|
||||||
private static class ValidPerson {
|
public static class ValidPerson {
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
private String name;
|
private String name;
|
||||||
|
|
@ -157,7 +157,7 @@ public class ValidatorFactoryTests {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private static class ValidAddress {
|
public static class ValidAddress {
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
private String street;
|
private String street;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue