-
Notifications
You must be signed in to change notification settings - Fork 29
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
[wokdlhX3] Extract code from APOC core which is only used in APOC extended #261
Conversation
297611d
to
f4b9217
Compare
4f190ba
to
cd8daa4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much @Lojjs, just a couple of things that I want to discuss with you
@@ -11,6 +11,7 @@ | |||
|
|||
import static java.net.HttpURLConnection.HTTP_OK; | |||
|
|||
@SuppressWarnings("unused") // used from extended |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer moving this on extended as it's used only in there as you did for many other APIs
@@ -5,6 +5,7 @@ | |||
|
|||
import java.time.Duration; | |||
|
|||
@SuppressWarnings("unused") // used from extended |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as GoogleCloudStorageContainerExtension
@@ -139,23 +139,4 @@ private void requireConnected(Relationship relationship) { | |||
throw new IllegalArgumentException("Relationship is not part of current path."); | |||
} | |||
} | |||
|
|||
public static final class Builder { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer to have it in there, now it's used only in DataVirtualizationCatalog
but by design would be better having it in there; as in the future could be used in other use-cases
@Lojjs can you please rebase it? |
The Admin annotation will be used instead for extended
The previous one used a private constructor.
… extended These usages are not as straight forward to get rid of/extract to extended.
4e80267
to
258772a
Compare
46c818c
to
ea01825
Compare
@Lojjs LGTM thank you so much! |
Should go in together with neo4j-contrib/neo4j-apoc-procedures#3361