void () { if (myModel != null) { if (myLibraryProperties != null) { myModel.setProperties(myLibraryProperties); } myModel.commit(); myModel = null; myLibraryName = null; myLibraryProperties = null; } }