8282import de .sub .goobi .persistence .managers .JournalManager ;
8383import de .sub .goobi .persistence .managers .MetadataManager ;
8484import de .sub .goobi .persistence .managers .ProcessManager ;
85- import de .sub .goobi .persistence .managers .RulesetManager ;
8685import de .sub .goobi .persistence .managers .ProjectManager ;
8786import de .sub .goobi .persistence .managers .PropertyManager ;
87+ import de .sub .goobi .persistence .managers .RulesetManager ;
8888import de .sub .goobi .persistence .managers .StepManager ;
8989import de .sub .goobi .persistence .managers .UserManager ;
9090import io .goobi .workflow .xslt .XsltPreparatorDocket ;
@@ -968,7 +968,7 @@ public Fileformat readMetadataFile() throws ReadException, IOException, SwapExce
968968
969969 /* prüfen, welches Format die Metadaten haben (Mets, xstream oder rdf */
970970 String type = MetadatenHelper .getMetaFileType (getMetadataFilePath ());
971- Fileformat ff = MetadatenHelper .getFileformatByName (type , regelsatz );
971+ Fileformat ff = MetadatenHelper .getFileformatByName (type , getRegelsatz () );
972972 if (ff == null ) {
973973 String [] parameter = { titel , type };
974974 Helper .setFehlerMeldung (Helper .getTranslation ("MetadataFormatNotAvailable" , parameter ));
@@ -1019,7 +1019,7 @@ public synchronized boolean writeMetadataFile(Fileformat gdzfile) throws IOExcep
10191019 String backupMetaAnchorFileName = Process .createBackup (path , META_ANCHOR_FILE , maximumNumberOfBackups );
10201020 Path backupMetaAnchorFile = Paths .get (path + backupMetaAnchorFileName );
10211021
1022- Fileformat ff = MetadatenHelper .getFileformatByName (getProjekt ().getFileFormatInternal (), this . regelsatz );
1022+ Fileformat ff = MetadatenHelper .getFileformatByName (getProjekt ().getFileFormatInternal (), getRegelsatz () );
10231023
10241024 synchronized (XML_WRITE_LOCK ) {
10251025 ff .setDigitalDocument (gdzfile .getDigitalDocument ());
@@ -1065,7 +1065,7 @@ public void saveTemporaryMetsFile(Fileformat gdzfile) throws SwapException, IOEx
10651065 int maximumNumberOfBackups = ConfigurationHelper .getInstance ().getNumberOfMetaBackups ();
10661066 Process .createBackup (this .getProcessDataDirectory (), TEMP_FILE , maximumNumberOfBackups );
10671067
1068- Fileformat ff = MetadatenHelper .getFileformatByName (getProjekt ().getFileFormatInternal (), this . regelsatz );
1068+ Fileformat ff = MetadatenHelper .getFileformatByName (getProjekt ().getFileFormatInternal (), getRegelsatz () );
10691069 ff .setDigitalDocument (gdzfile .getDigitalDocument ());
10701070 ff .write (getProcessDataDirectory () + TEMP_FILE );
10711071 }
@@ -1081,7 +1081,7 @@ public Fileformat readMetadataAsTemplateFile() throws ReadException, IOException
10811081 if (log .isDebugEnabled ()) {
10821082 log .debug ("current template.xml file type: " + type );
10831083 }
1084- ff = MetadatenHelper .getFileformatByName (type , regelsatz );
1084+ ff = MetadatenHelper .getFileformatByName (type , getRegelsatz () );
10851085 ff .read (getTemplateFilePath ());
10861086 return ff ;
10871087 } else {
@@ -1409,8 +1409,9 @@ public Batch getBatch() {
14091409 }
14101410
14111411 /**
1412- * Enables lazy loading of the journal from the database on the next call to {@link #getJournal()}. Called by ProcessManager.convert() for processes
1413- * read from the database, so the journal is not loaded eagerly (which would acquire a nested database connection during the row mapping).
1412+ * Enables lazy loading of the journal from the database on the next call to {@link #getJournal()}. Called by ProcessManager.convert() for
1413+ * processes read from the database, so the journal is not loaded eagerly (which would acquire a nested database connection during the row
1414+ * mapping).
14141415 */
14151416 public void markJournalForLazyLoading () {
14161417 this .journalNeedsLoading = true ;
0 commit comments