Skip to content
Snippets Groups Projects
Commit b17ff10e authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4857 OZG-4934 code formatting

parent 007343ca
Branches
Tags
No related merge requests found
...@@ -56,12 +56,6 @@ class DokumentTypeBuilder { ...@@ -56,12 +56,6 @@ class DokumentTypeBuilder {
return identifikation; return identifikation;
} }
IdentifikationObjektType createKommentarAttachmentIdentifikation(OzgFile attachment) {
var identifikation = new IdentifikationObjektType();
identifikation.setID(UUIDConverter.fromObjectId(attachment.getId().toString()));
return identifikation;
}
AnlageDokumentType createAnlage(OzgFile ozgFile) { AnlageDokumentType createAnlage(OzgFile ozgFile) {
var anlage = new AnlageDokumentType(); var anlage = new AnlageDokumentType();
anlage.setIdentifikation(createKommentarAttachmentIdentifikation(ozgFile)); anlage.setIdentifikation(createKommentarAttachmentIdentifikation(ozgFile));
...@@ -69,6 +63,12 @@ class DokumentTypeBuilder { ...@@ -69,6 +63,12 @@ class DokumentTypeBuilder {
return anlage; return anlage;
} }
IdentifikationObjektType createKommentarAttachmentIdentifikation(OzgFile attachment) {
var identifikation = new IdentifikationObjektType();
identifikation.setID(UUIDConverter.fromObjectId(attachment.getId().toString()));
return identifikation;
}
VersionType createVersionType(OzgFile ozgFile) { VersionType createVersionType(OzgFile ozgFile) {
var versionType = new VersionType(); var versionType = new VersionType();
versionType.setNummer(VERSION_NUMMER); versionType.setNummer(VERSION_NUMMER);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment