attempt to fix v1.class does not exist (#28309)
* sometimes I see v1.class does not exist error from incremental compiler * could be because we have `object v1` and `trait V1` in same package
This commit is contained in:
parent
1062a97ee8
commit
be5a17aeae
2 changed files with 11 additions and 11 deletions
|
|
@ -246,15 +246,15 @@ public class PersistenceSchemaEvolutionDocTest {
|
|||
}
|
||||
|
||||
// #split-events-during-recovery
|
||||
interface V1 {};
|
||||
interface Version1 {};
|
||||
|
||||
interface V2 {}
|
||||
interface Version2 {}
|
||||
|
||||
// #split-events-during-recovery
|
||||
public
|
||||
// #split-events-during-recovery
|
||||
// V1 event:
|
||||
static class UserDetailsChanged implements V1 {
|
||||
static class UserDetailsChanged implements Version1 {
|
||||
public final String name;
|
||||
public final String address;
|
||||
|
||||
|
|
@ -268,7 +268,7 @@ public class PersistenceSchemaEvolutionDocTest {
|
|||
public
|
||||
// #split-events-during-recovery
|
||||
// corresponding V2 events:
|
||||
static class UserNameChanged implements V2 {
|
||||
static class UserNameChanged implements Version2 {
|
||||
public final String name;
|
||||
|
||||
public UserNameChanged(String name) {
|
||||
|
|
@ -278,7 +278,7 @@ public class PersistenceSchemaEvolutionDocTest {
|
|||
// #split-events-during-recovery
|
||||
public
|
||||
// #split-events-during-recovery
|
||||
static class UserAddressChanged implements V2 {
|
||||
static class UserAddressChanged implements Version2 {
|
||||
public final String address;
|
||||
|
||||
public UserAddressChanged(String address) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue