-
Notifications
You must be signed in to change notification settings - Fork 122
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
Remove commons-lang3 #94
Conversation
Ran a basic smoke test which seemed to work, the library was loaded:
|
@timja Thanks for filing the PR! I think that normal cases should work fine, my main concern is if @jglick had some particular reason not to use |
To the extent I can recall now, I think I just did not realize it was available. |
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.
Thanks for filing a PR for this!
@@ -265,16 +263,10 @@ public AutoCompletionCandidates doAutoCompleteIdentifier(@AncestorInPath ItemGro | |||
@Override public Object invokeMethod(String name, Object _args) { | |||
Class<?> c = loadClass(prefix + clazz); | |||
Object[] args = _args instanceof Object[] ? (Object[]) _args : new Object[] {_args}; // TODO why does Groovy not just pass an Object[] to begin with?! |
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.
nit: InvokerHelper
handles this conversion internally via InvokerHelper.asArray
, so I think this line could be removed now.
See: #93 (review)
@jglick @dwnusbaum @bitwiseman