mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-02 11:05:29 -04:00
Added identifier (id() method) and made toString method return something more readable.
This commit is contained in:
parent
cb149a7c79
commit
a4d4111195
@ -236,8 +236,12 @@ public final class Platform {
|
||||
return name;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
public String id() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return String.format("%s (%s)", id, name);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user