code: public static synchronized ResourceDataBroker getDataBroker() {
      if (JLanguageTool.dataBroker == null) {
        JLanguageTool.dataBroker = new DefaultResourceDataBroker();
      }
      return JLanguageTool.dataBroker;
    }
docs: The grammar checker needs resources from following
  directories:
  <ul>
  <li>{@code /resource}</li>
  <li>{@code /rules}</li>
  </ul>
  @return The currently set data broker which allows to obtain
  resources from the mentioned directories above. If no
  data broker was set, a new {@link DefaultResourceDataBroker} will
  be instantiated and returned.
  @since 1.0.1