{Address,Customer,TypeAliasTest}: use explicit scoping

This commit is contained in:
Paul Campbell 2017-09-18 20:23:01 +01:00
parent c3ad6852fe
commit 141d508138
3 changed files with 3 additions and 3 deletions

View file

@ -33,7 +33,7 @@ class Address {
private final String street;
String getStreet() {
protected String getStreet() {
return street;
}
}

View file

@ -33,7 +33,7 @@ class Customer {
private final Address address;
Address getAddress() {
protected Address getAddress() {
return address;
}

View file

@ -74,7 +74,7 @@ public class TypeAliasTest {
super(value);
}
static AnAlias of(final String value) {
protected static AnAlias of(final String value) {
return new AnAlias(value);
}
}