@Override
  public String getString(String s, String s2) {
    String data = getString(s);
    return (data != null)?data:s2;
  }
Constructor of adapter
@param context View Context
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/persistence/utils/ContextConfigurationAdapter.java