Code example for Reference

Methods: get

0
    return CommonBundle.message(getBundle(), key);
  } 
 
  private static ResourceBundle getBundle() {
    ResourceBundle bundle = null;
    if (ourBundle != null) bundle = ourBundle.get();
    if (bundle == null) {
      bundle = ResourceBundle.getBundle(BUNDLE);
      ourBundle = new SoftReference<>(bundle);
    } 
    return bundle;
  } 
} 
Contextual code suggestions in your IDE  Get Codota for Java