JAL-2089 patch broken merge to master for Release 2.10.0b1
[jalview.git] / src / jalview / util / MessageManager.java
index cd885f0..4001cb2 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
- * Copyright (C) 2014 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -92,6 +92,11 @@ public class MessageManager
 
   public static String formatMessage(String key, Object... params)
   {
+    return MessageFormat.format(rb.getString(key), params);
+  }
+
+  public static String formatMessage(String key, String[] params)
+  {
     return MessageFormat.format(rb.getString(key), (Object[]) params);
   }