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

Resolve Warnings #54

Merged
merged 2 commits into from
Mar 30, 2015
Merged

Conversation

ctrimble
Copy link
Contributor

This PR resolves a large number of the warnings found in org.bridj and a few warnings in other classes. Minimal changes were made to the test suite, in an effort to reduce impact to those using the library.

@ctrimble
Copy link
Contributor Author

Looks like the build failure here is identical to the current failures on master.

@@ -94,17 +98,18 @@ public synchronized ClassDefiner getClassDefiner() {

Method callbackMethod = runtime.getFastestCallbackMethod(callbackType);

Class<?>[] parameterTypes = callbackMethod.getParameterTypes();
// Never used. Side effects?
Copy link
Member

Choose a reason for hiding this comment

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

Can definitely drop this one, thanks :-)

ochafik added a commit that referenced this pull request Mar 30, 2015
@ochafik ochafik merged commit 778414d into nativelibs4java:master Mar 30, 2015
@ochafik
Copy link
Member

ochafik commented Mar 30, 2015

This is awesome, thanks a lot @ctrimble ! Please tell me you didn't resolve all the warnings by hand, or I'm gonna owe you too many beers for your own health...

@ctrimble
Copy link
Contributor Author

@ochafik the import corrections were totally automated. The rest was mostly adding wildcard types and taking the default resolution action.

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.

2 participants