Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove-delta #1004

Merged
merged 2 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package de.bund.digitalservice.ris.norms.application.port.output;

import de.bund.digitalservice.ris.norms.domain.entity.Norm;
import de.bund.digitalservice.ris.norms.domain.entity.eli.DokumentEli;
import de.bund.digitalservice.ris.norms.domain.entity.eli.NormEli;
import java.util.Optional;

Expand All @@ -25,16 +24,5 @@ public interface LoadNormPort {
*
* @param eli The ELI (European Legislation Identifier) used to identify the norm in the command.
*/
record Command(NormEli eli) {
/**
* Old way to call the load norm port with using a dokument eli. As a norm is loaded and not just
* a Dokument a NormEli should be used instead
* @param eli the eli of a dokument of the norm
* @deprecated
*/
@Deprecated(forRemoval = true)
public Command(DokumentEli eli) {
this(eli.asNormEli());
}
}
record Command(NormEli eli) {}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,6 @@ public Optional<Regelungstext> getRegelungstextByEli(DokumentEli dokumentEli) {
.findFirst();
}

@Deprecated(forRemoval = true)
public Document getDocument() {
return getRegelungstext1().getDocument();
}

/**
* Returns the work Eli of the {@link Norm}.
*
Expand Down
Loading