code: public void setLastUsedGallery(String galleryKey, String gallerypath) {
  
          m_lastUsedGalleries.put(galleryKey, gallerypath);
          LOG.info("user=" + m_user.getName() + ": setLastUsedGallery " + galleryKey + " -> " + gallerypath);
      }
docs: Saves the last gallery for a given key.<p>
  
  @param galleryKey the gallery key
  @param gallerypath the resourcepath of the gallery