Skip to content

Commit 7f90e3b

Browse files
committed
enable JPATraversableResolver to introspect test domain classes
1 parent bc1abe6 commit 7f90e3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

org.springframework.context/src/test/java/org/springframework/validation/beanvalidation/ValidatorFactoryTests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2009 the original author or authors.
2+
* Copyright 2002-2010 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -131,7 +131,7 @@ public void testSpringValidationWithClassLevel() throws Exception {
131131

132132

133133
@NameAddressValid
134-
private static class ValidPerson {
134+
public static class ValidPerson {
135135

136136
@NotNull
137137
private String name;
@@ -157,7 +157,7 @@ public void setAddress(ValidAddress address) {
157157
}
158158

159159

160-
private static class ValidAddress {
160+
public static class ValidAddress {
161161

162162
@NotNull
163163
private String street;

0 commit comments

Comments
 (0)