This repository has been archived on 2024-04-22. You can view files and clone it, but cannot push or open issues or pull requests.
|
package ch.ethz.infsec.secureumlgui.modelmapping.counters;
|
|
|
|
public class Counter {
|
|
|
|
protected String sinPlur(int number, String singular, String plural) {
|
|
if (number == 1) {
|
|
return singular;
|
|
} else {
|
|
return plural;
|
|
}
|
|
}
|
|
|
|
}
|