blob: 5d4732b955b0bc1d63c8e88d70cf5867501fd721 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2005, 2018 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.core.manipulation;
import java.text.MessageFormat;
/**
* Helper class to format message strings.
*
* @since 1.3
*/
public class Messages {
public static String format(String message, Object object) {
return MessageFormat.format(message, object);
}
public static String format(String message, Object[] objects) {
return MessageFormat.format(message, objects);
}
private Messages() {
// Not for instantiation
}
}