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

Master Thesis - SCChart Edge Merge - Code Review #7

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

Skgland
Copy link
Contributor

@Skgland Skgland commented Feb 16, 2022

This PR is for the review of the code produced during my master thesis

@Skgland
Copy link
Contributor Author

Skgland commented Feb 16, 2022

@nre review please
Sorry, the ping should have gone to @NiklasRentzCAU

*/
override void processTransition(Transition transition, KEdge edge) {

if (MERGE_SIMILAR_EDGES.booleanValue) {
Copy link
Member

Choose a reason for hiding this comment

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

Documentation on what this hook does and comments about how is accomplished in the code help understand in this file (other than the methods that are overriden and are by that kind of documented already).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have added some comments, anything that is still missing sufficient explanation?
Should I remove javadoc comments from the overridden functions?

Copy link
Member

Choose a reason for hiding this comment

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

In general, anything that is API of new code should be documented so that someone not knowing what some class/method is about gets to know it by reading the JavaDoc for it. Ideally as you did here also with some comments sprinkled inbetween for calculations you do that are not immedeately obvious.
The only thing missing for me would now be a JavaDoc on the class itself explaining what this hook does.

The JavaDoc for overridden functions are imo not necessary, but they do not hurt either, so I would let them in.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have now added a doc comment for the class.
I attempted to keep it similar detailed to other hooks' class comment.
I believe this was the only outstanding review comment from you and should therefore be ready for @a-sr to review.

@NiklasRentzCAU
Copy link
Member

If this code should be included in the master, als should then also get a ping (if he did not get that already) to review and include it.

@NiklasRentzCAU
Copy link
Member

@Eddykasp @NiklasRentzCAU check if this is ready for review by als

@a-sr a-sr marked this pull request as draft September 5, 2023 11:04
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