#79 - Made classes to be used reflectively private.

This is needed as the latest Spring Data Commons added support for the improved access mechanism for package protected classes, too.
This commit is contained in:
Oliver Gierke
2018-08-17 13:00:04 +02:00
parent ad306ba6e4
commit 4da5a6f494

View File

@@ -168,7 +168,7 @@ public class TypicalEntityReaderBenchmark extends AbstractMicrobenchmark {
@Data
@AccessType(Type.PROPERTY)
static class SimpleEntityPropertyAccess {
private static class SimpleEntityPropertyAccess {
String firstname, lastname;
}
@@ -189,13 +189,13 @@ public class TypicalEntityReaderBenchmark extends AbstractMicrobenchmark {
}
@RequiredArgsConstructor
static class SimpleEntityWithReflectiveConstructor {
private static class SimpleEntityWithReflectiveConstructor {
final String firstname, lastname;
}
@Data
@RequiredArgsConstructor
static class SimpleEntityWithConstructorAndField {
private static class SimpleEntityWithConstructorAndField {
final String firstname;
String lastname;
@@ -204,7 +204,7 @@ public class TypicalEntityReaderBenchmark extends AbstractMicrobenchmark {
@Data
@AccessType(Type.PROPERTY)
@RequiredArgsConstructor
static class SimpleEntityWithConstructorAndProperty {
private static class SimpleEntityWithConstructorAndProperty {
final String firstname;
String lastname;