Skip to content

Commit

Permalink
Merge pull request square#2197 from square/jw/2017-02-13/error-prone
Browse files Browse the repository at this point in the history
Use array instead of varargs in override signature.
  • Loading branch information
swankjesse authored Feb 14, 2017
2 parents 3a9d4b7 + 705b43c commit c516a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retrofit/src/main/java/retrofit2/Retrofit.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public <T> T create(final Class<T> service) {
new InvocationHandler() {
private final Platform platform = Platform.get();

@Override public Object invoke(Object proxy, Method method, Object... args)
@Override public Object invoke(Object proxy, Method method, Object[] args)
throws Throwable {
// If the method is a method from Object then defer to normal invocation.
if (method.getDeclaringClass() == Object.class) {
Expand Down

0 comments on commit c516a34

Please sign in to comment.