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

EY-4669 Fjern alle requires med internfeilexception check #6307

Merged
merged 4 commits into from
Nov 13, 2024

Conversation

sebassonav
Copy link
Contributor

@sebassonav sebassonav commented Nov 13, 2024

Tenker at spesialiseringer av feilmeldingene kan komme senere, viktigste er å bli kvitt de standard dårlige feilmeldingene som IllegalArgumentException og IllegalStateException

Har også lagt på beskrivelse mange steder på requires, men ingen tester tester de så ja hvem vet om de er nyttige, foråpentligvis har vi noen tester som sjekker tilstanden om de brukes også,

@sebassonav sebassonav requested a review from a team as a code owner November 13, 2024 10:55
@sebassonav sebassonav merged commit a95c8c7 into main Nov 13, 2024
63 checks passed
@sebassonav sebassonav deleted the bugfix/EY-4669-fjern-alle-requires branch November 13, 2024 11:13
@@ -11,6 +11,7 @@ fun <T : Any> checkNotNullOrThrowException(
}
}

// Todo endre til if(value)
Copy link
Contributor

Choose a reason for hiding this comment

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

TODO? Er det noe mer å gjøre her da? if (!value) ser jo riktig ut 😄

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Det er riktig men bruken burde vært uten negering, men droppa det pga risiko for feil

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