| /******************************************************************************* |
| * 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 v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| *******************************************************************************/ |
| package org.eclipse.dltk.internal.corext.util; |
| |
| import com.ibm.icu.text.MessageFormat; |
| |
| /** |
| * Helper class to format message strings. |
| * |
| * |
| */ |
| public class Messages { |
| |
| public static String format(String message, Object... objects) { |
| return MessageFormat.format(message, objects); |
| } |
| |
| private Messages() { |
| // Not for instantiation |
| } |
| } |