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

review refactor: Add a new way to build a query in QueryFactory #1740

Merged
merged 3 commits into from
Nov 22, 2017

Conversation

surli
Copy link
Collaborator

@surli surli commented Nov 22, 2017

No description provided.

@surli surli changed the title refactor: Add a new way to build a query in QueryFactory review refactor: Add a new way to build a query in QueryFactory Nov 22, 2017
@@ -48,4 +48,12 @@ public CtQuery createQuery() {
public CtQuery createQuery(Object input) {
return new CtQueryImpl(input);
}

/**
* Creates a bound query with an optional number of inputs
Copy link
Collaborator

Choose a reason for hiding this comment

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

what is the meaning of inputs?

not fan of pointing to an implementation in an interface.

@monperrus
Copy link
Collaborator

interesting. it seems we need a test case.

@INRIA INRIA deleted a comment from spoon-bot Nov 22, 2017
@spoon-bot
Copy link
Collaborator

Detected changes by Revapi: 1.

Old API: fr.inria.gforge.spoon:spoon-core:jar:7.0.0-20171122.113807-9

New API: fr.inria.gforge.spoon:spoon-core:jar:7.0.0-SNAPSHOT

Name Change 1
Old none
New method Factory::createQuery(.Array)
Code java.method.addedToInterface
Description Method was added to an interface.
Breaking binary: non_breaking

@INRIA INRIA deleted a comment from spoon-bot Nov 22, 2017
@surli
Copy link
Collaborator Author

surli commented Nov 22, 2017

@monperrus @pvojtechovsky if you're ok with this one, it's ready for merging.

@monperrus
Copy link
Collaborator

ok for me. @pvojtechovsky do you merge?

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.

4 participants