rollbar-java/src/main/java/com/rollbar/notifier/Rollbar.java
public static Rollbar init(Config config) {
    if (notifier == null) {

      synchronized (Rollbar.class) {
        if (notifier == null) {
          notifier = new Rollbar(config);
          LOGGER.debug("Rollbar managed notifier created.");
        }
      }
    }

    return notifier;
  }
/**
   * Method to initialize the library managed notifier instance.
   *
   * @param config the configuration.
   * @return the library managed instance.
   */
Method to initialize the library managed notifier instance.
@param config the configuration.
@return the library managed instance.
Method to initialize the library managed notifier instance . @param config the configuration . @return the library managed instance .
public static Rollbar init(Config config) {
    if (notifier == null) {
      synchronized (Rollbar.class) {
        if (notifier == null) {
          notifier = new Rollbar(config);
          LOGGER.debug("Rollbar managed notifier created.");
        }
      }
    }
    return notifier;
  }
public static Rollbar init ( Config config ) { if ( notifier == null ) { synchronized ( Rollbar . class ) { if ( notifier == null ) { notifier = new Rollbar ( config ) ; LOGGER . debug ( "Rollbar managed notifier created." ) ; } } } return notifier ; }
Method to initialize the library managed notifier instance.
Method to initialize the library managed notifier instance .