{Address,Customer,TypeAliasTest}: use explicit scoping
This commit is contained in:
parent
c3ad6852fe
commit
141d508138
3 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ class Address {
|
||||||
|
|
||||||
private final String street;
|
private final String street;
|
||||||
|
|
||||||
String getStreet() {
|
protected String getStreet() {
|
||||||
return street;
|
return street;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +33,7 @@ class Customer {
|
||||||
|
|
||||||
private final Address address;
|
private final Address address;
|
||||||
|
|
||||||
Address getAddress() {
|
protected Address getAddress() {
|
||||||
return address;
|
return address;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ public class TypeAliasTest {
|
||||||
super(value);
|
super(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
static AnAlias of(final String value) {
|
protected static AnAlias of(final String value) {
|
||||||
return new AnAlias(value);
|
return new AnAlias(value);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue