package com.ibm.streamsx.hdfs;


import java.util.MissingResourceException;
import java.util.ResourceBundle;
import java.text.MessageFormat;

public class Messages {
    private static final String BUNDLE_NAME = "com.ibm.streamsx.hdfs.messages.messages"; 

    private static final ResourceBundle RESOURCE_BUNDLE = ResourceBundle.getBundle(BUNDLE_NAME);

    private Messages() {
    }
    
    public static String getString(String key) {
        try {
            return RESOURCE_BUNDLE.getString(key);
        } catch (MissingResourceException e) {
            return '!' + key + '!';
        } 
    }
    
    public static String getString(String key, Object... params  ) {
        try {
            return MessageFormat.format(RESOURCE_BUNDLE.getString(key), params);
        } catch (MissingResourceException e) {
            return '!' + key + '!';
        }
    }

}

@@ -387,223 +387,8 @@
     
-%0A    public static String getString(String key) %7B%0A        try %7B%0A            return RESOURCE_BUNDLE.getString(key);%0A        %7D catch (MissingResourceException e) %7B%0A            return '!' + key + '!';%0A        %7D %0A    %7D%0A
     

Update getString