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

Code review changes - Minimize changes for apache/accumulo#3400 #5

Conversation

ctubbsii
Copy link

  • Improve javadoc comments on environment interface
  • Remove unneeded AccumuloConfigurationAdaptor - instead, keep the DefaultContextClassLoaderFactory constructed directly using the internal configuration, rather than load it through reflection using the no-arg constructor. We don't want users configuring this class manually, so it should not have a no-arg constructor. As the javadoc states, it is for internal use only.
  • Use a lambda for passing the service configuration rather than an anonymous inner class (less code, same effect)

* Improve javadoc comments on environment interface
* Remove unneeded AccumuloConfigurationAdaptor - instead, keep the
  DefaultContextClassLoaderFactory constructed directly using the
  internal configuration, rather than load it through reflection using
  the no-arg constructor. We don't want users configuring this class
  manually, so it should not have a no-arg constructor. As the javadoc
  states, it is for internal use only.
* Use a lambda for passing the service configuration rather than an
  anonymous inner class (less code, same effect)
@ivakegg ivakegg merged commit d94d076 into ivakegg:feature/classLoaderEnvironment May 23, 2023
@ctubbsii ctubbsii deleted the feature/classLoaderEnvironment branch May 23, 2023 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants