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

pr/IntroduceReferencePointAndRefactoringSarosSession #211

Closed
wants to merge 10 commits into from

Conversation

pdler
Copy link
Contributor

@pdler pdler commented Aug 20, 2018

No description provided.

Copy link

@saros-infrastructure saros-infrastructure left a comment

Choose a reason for hiding this comment

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

SonarQube analysis found issues:
Bug Bugs: 0
Vulnerability Vulnerabilities: 0
Code Smell Code Smells: 11

See all issues in SonarCloud

* the resources to add
*/
/*
* TODO needs proper sync. in the SarosSession class

Choose a reason for hiding this comment

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

Code Smell Code Smell: Complete the task associated to this TODO comment. (squid:S1135)

See it in SonarCloud

* the resources to remove
*/
/*
* TODO needs proper sync. in the SarosSession class

Choose a reason for hiding this comment

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

Code Smell Code Smell: Complete the task associated to this TODO comment. (squid:S1135)

See it in SonarCloud

+ " [completely shared:" + !isPartially + "]");
}

private synchronized void CheckIfReferencePointIsAbleToBeShared(String id,

Choose a reason for hiding this comment

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

Code Smell Code Smell: Rename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'. (squid:S00100)

See it in SonarCloud

IReferencePoint referencePoint) {

if (partiallySharedReferencePoints.contains(referencePoint))
throw new IllegalStateException("referencePoint " + referencePoint

Choose a reason for hiding this comment

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

Code Smell Code Smell: Define a constant instead of duplicating this literal "referencePoint " 3 times. (squid:S1192)

See it in SonarCloud

}
}

private synchronized void addReferencePointPartially(String id,

Choose a reason for hiding this comment

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

Code Smell Code Smell: Remove this unused method parameter "id". (squid:S1172)

See it in SonarCloud

* <p>
* TODO Why is the project parameter needed here? This forces callers to
* store the mapping themselves (or retrieve it just before calling this
* TODO Why is the referencePoint parameter needed here? This forces callers

Choose a reason for hiding this comment

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

Code Smell Code Smell: Complete the task associated to this TODO comment. (squid:S1135)

See it in SonarCloud

return false;

if (isCompletelyShared(referencePoint))
// TODO how should partial sharing handle this case ?

Choose a reason for hiding this comment

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

Code Smell Code Smell: Complete the task associated to this TODO comment. (squid:S1135)

See it in SonarCloud

* Negotiation, since its the only consumer of queuing
* functionality. This will enable a specific Queuing mechanism per
* TransferType (see github issue #137).
* TODO Queuing responsibility should be moved to Project Negotiation,

Choose a reason for hiding this comment

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

Code Smell Code Smell: Complete the task associated to this TODO comment. (squid:S1135)

See it in SonarCloud

new HashSet<IResource>());
}

private synchronized void addReferencePointCompletelly(String id,

Choose a reason for hiding this comment

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

Code Smell Code Smell: Remove this unused method parameter "id". (squid:S1172)

See it in SonarCloud

* the resources to add
*/
/*
* TODO needs proper sync. in the SarosSession class

Choose a reason for hiding this comment

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

Code Smell Code Smell: Complete the task associated to this TODO comment. (squid:S1135)

See it in SonarCloud

@tobous
Copy link
Member

tobous commented Sep 17, 2018

It seems like you started to split this pull request (see #227). Can this PR be closed?

@pdler pdler closed this Oct 25, 2018
@pdler pdler deleted the IntroduceReferencePoint branch June 11, 2019 09:50
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.

None yet

3 participants