Skip to content

ST6RI-965 PortUsage does not implement Occurrence semantic constraints - #795

Merged
seidewitz merged 3 commits into
masterfrom
ST6RI-965
Sep 8, 2026
Merged

seidewitz merged 3 commits into
masterfrom
ST6RI-965

Conversation

@seidewitz

Copy link
Copy Markdown
Member

This PR corrects a bug in the PortUsageAdapter.

PortUsage specializes OccurrenceUsage, but PortUsageAdapter extended UsageAdapter instead of OccurrenceUsageAdapter. This meant that timeslice and snapshot were not handled correctly for port usages.

This PR corrects PortUsageAdapter to extend OccurrenceAdapter.

@seidewitz seidewitz self-assigned this Sep 5, 2026
@seidewitz seidewitz added the bug Something isn't working label Sep 5, 2026
@seidewitz seidewitz added this to the 2026-08 milestone Sep 5, 2026
@seidewitz
seidewitz requested a review from adaussy September 5, 2026 16:40
adaussy
adaussy previously requested changes Sep 7, 2026

@adaussy adaussy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Except from the comment on the header that is not up to date this change is fine by me.

@seidewitz
seidewitz dismissed adaussy’s stale review September 8, 2026 17:18

Reviewer wrote in prior comment that he was fine with this PR except for a copyright header that has now been fixed.

@seidewitz
seidewitz merged commit 41e9da0 into master Sep 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants