示例#1
0
 public ResourceLoader(MediaType mediaType, IResourceLoadLog resourceLoadLog) {
   this.mediaType = Checks.checkNotNull(mediaType);
   this.resourceLoadLog = Checks.checkNotNull(resourceLoadLog);
   this.checkedFilenames = new LruSet<String>(128);
 }
示例#2
0
  public Button(IScriptEventDispatcher eventDispatcher) {
    this.eventDispatcher = Checks.checkNotNull(eventDispatcher);

    initTransients();
  }