private synchronized void initResourceBundle(String resourceBundleName){
  String current=this.resourceBundleName;
  if (current != null) {
    if (current.equals(resourceBundleName)) {
      return;
    }
 else {
      throw new IllegalArgumentException("Resource bundle name '" + resourceBundleName + "' is inconsistent with the existing '"+ current+ "'");
    }
  }
  if (resourceBundleName != null) {
    this.resourceBundle=loadResourceBundle(resourceBundleName);
    this.resourceBundleName=resourceBundleName;
  }
}

private synchronized void initResourceBundle ( String resourceBundleName ) { String current = this . resourceBundleName ; if ( current != null ) { if ( current . equals ( resourceBundleName ) ) { return ; } else { throw new IllegalArgumentException ( "Resource bundle name '" + resourceBundleName + "' is inconsistent with the existing '" + current + "'" ) ; } } if ( resourceBundleName != null ) { this . resourceBundle = loadResourceBundle ( resourceBundleName ) ; this . resourceBundleName = resourceBundleName ; } }
initializes this logger ' s resource bundle .
