Pluralizer.java revision e0ae5d7e87b1dd6e789803c1b9615a84bd7488b7
1/*
2 * Copyright (c) 2007 Mockito contributors
3 * This program is made available under the terms of the MIT License.
4 */
5package org.mockito.internal.reporting;
6
7public class Pluralizer {
8
9    public static String pluralize(int number) {
10        return number == 1 ? "1 time" : number + " times";
11    }
12}
13