Author: sflanigan
Date: 2009-04-07 21:56:28 -0400 (Tue, 07 Apr 2009)
New Revision: 14582
Removed:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/Messages.java
Log:
Removed old, unused Messages class whose messages.properties file doesn't exist.
Deleted:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/Messages.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/Messages.java 2009-04-08
01:27:43 UTC (rev 14581)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/Messages.java 2009-04-08
01:56:28 UTC (rev 14582)
@@ -1,37 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
- * Distributed under license by Red Hat, Inc. All rights reserved.
- * This program is made available under the terms of the
- * Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at
http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- ******************************************************************************/
-package org.jboss.tools.jsf.ui;
-
-import java.util.MissingResourceException;
-import java.util.ResourceBundle;
-
-public class Messages {
-
- private static final String RESOURCE_BUNDLE =
"org.jboss.tools.jsf.ui.messages";
-
- private static ResourceBundle resourceBundle =
ResourceBundle.getBundle(RESOURCE_BUNDLE);
-
- private Messages() {
- }
-
- public static String getString(String key) {
- try {
- return resourceBundle.getString(key);
- } catch (MissingResourceException e) {
- return "%" + key + "%";
- }
- }
-
- public static ResourceBundle getResourceBundle() {
- return resourceBundle;
- }
-
-}