mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-04 11:26:44 -04:00
Added identifier (id() method) and made toString method return something more readable.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user