Skip to content

Switch to a new ETS model #269

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

Merged
merged 6 commits into from
Apr 17, 2025
Merged

Switch to a new ETS model #269

merged 6 commits into from
Apr 17, 2025

Conversation

Lipen
Copy link
Member

@Lipen Lipen commented Apr 14, 2025

This PR brings the necessary fixes by incorporating the changes in ETS model introduced by UnitTestBot/jacodb#313.

@Lipen Lipen requested a review from CaelmBleidd April 14, 2025 13:50
@Lipen Lipen closed this Apr 15, 2025
@Lipen Lipen deleted the lipen/ts-model branch April 15, 2025 11:58
@Lipen Lipen restored the lipen/ts-model branch April 16, 2025 12:05
@Lipen Lipen reopened this Apr 16, 2025
@Lipen Lipen marked this pull request as ready for review April 16, 2025 13:27
@Lipen Lipen marked this pull request as draft April 16, 2025 14:48
@Lipen Lipen marked this pull request as ready for review April 17, 2025 12:25
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

detekt found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@@ -601,7 +608,7 @@

// TODO hack because of an issue with signatures
private val compareByMethodNameAndEnclosingClass = { fst: EtsMethod, snd: EtsMethod ->
fst.name === snd.name && fst.enclosingClass.name === snd.enclosingClass.name
fst.name === snd.name && fst.signature.enclosingClass.name === snd.signature.enclosingClass.name

Check warning

Code scanning / detekt

Avoid using referential equality and prefer to use referential equality checks instead. Warning test

Checking referential equality may lead to unwanted results.
@@ -601,7 +608,7 @@

// TODO hack because of an issue with signatures
private val compareByMethodNameAndEnclosingClass = { fst: EtsMethod, snd: EtsMethod ->
fst.name === snd.name && fst.enclosingClass.name === snd.enclosingClass.name
fst.name === snd.name && fst.signature.enclosingClass.name === snd.signature.enclosingClass.name

Check warning

Code scanning / detekt

Avoid using referential equality and prefer to use referential equality checks instead. Warning test

Checking referential equality may lead to unwanted results.
@Lipen Lipen merged commit 192ba27 into main Apr 17, 2025
6 checks passed
@Lipen Lipen deleted the lipen/ts-model branch April 17, 2025 13:21
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.

2 participants