Skip to content

Conversation

@Der-Alex-K
Copy link
Contributor

internal Tickets:

  • FV-102
  • FV-104
    Validierung der Zaehlung vor dem Speichern hinzugefuegt.

@boal boal changed the base branch from sprint-ls3 to sprint December 4, 2025 15:41
@Der-Alex-K Der-Alex-K changed the title Feat/fv 102 fv 104 add validation for BearbeiteZaehlungDTO Feat/FV 102 FV 104 Validierung der Zaehlung vor dem Speichern Dec 9, 2025
@Der-Alex-K Der-Alex-K marked this pull request as ready for review December 10, 2025 13:14
* @return true, wenn alle Validierungen erfolgreich waren, sonst false.
*/
private boolean validateZaehlung(final BearbeiteZaehlungDTO toValidate) {
return areZaehlartAndSelectedCategoriesValid(toValidate) && areZaehlartAndSelctedKnotenarmeValid(toValidate);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo bei areZaehlartAndSelctedKnotenarmeValid.


/**
* Validiert anhand der ausgewaehlten Zaehlart, ob die richtigen Fahrzeuge ausgewaehlt wurden.
* Bei den {@link Zaehlart}.QJS FJS QU darf nur {@link Fahrzeug}.RAD und/oder .FUSS ausgewaehlt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Der Javadoc link sollte so geschrieben werden:

{@link Zaehlart#QJS}

So kann im Code auch auf den Enumwert geklickt werden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants