Remove upper case from toString method and set ID to upper case

This commit is contained in:
Dale Schultz 2015-01-12 23:37:32 -05:00
parent 46ceb88206
commit b7a7e363cf
1 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ public final class Transport {
checkNotNull(name, "id");
checkNotNull(name, "name");
checkNotNull(description, "description");
this.id = id;
this.id = id.toUpperCase();
this.name = name;
this.description = description;
}
@ -49,6 +49,6 @@ public final class Transport {
@Override
public String toString() {
return name.toUpperCase();
return name;
}
}