File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
SwissKnife/src/main/groovy/com/arasthel/swissknife Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 11# Changelog:
22
33### Versions:
4+ * ** 1.1.4** - Fixed another minor bug with primitives.
45* ** 1.1.3** - Fixed minor bug where methods with primitive parameters weren't found on method search.
56* ** 1.1.2** - Fixed BIG bug when SwissKnife couldn't find the method.
67* ** 1.1.1** - @OnBackground and @OnUIThread now can be used with static methods. Solved several method search problems, too.
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ Once your project App Module is configured to use Groovy you can add this librar
8484``` groovy
8585dependencies {
8686 ...
87- compile 'com.arasthel:swissknife:1.1.3 '
87+ compile 'com.arasthel:swissknife:1.1.4 '
8888 ...
8989}
9090```
Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ public class SwissKnife {
437437 Class parameter = m. getParameterTypes()[i]
438438
439439 // If parameter is a primitive, we have to get its wrapper class so we can check for inheritance
440- if (parameter. isPrimitive()) {
440+ if (parameter. isPrimitive() && ! parameters[i] . isPrimitive() ) {
441441 parameter = getWrapperForPrimitive(parameter)
442442 }
443443 if (! parameter. isAssignableFrom(parameters[i])) {
Original file line number Diff line number Diff line change 1717# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1818# org.gradle.parallel=true
1919
20- VERSION_NAME =1.1.3
21- VERSION_CODE =9
20+ VERSION_NAME =1.1.4
21+ VERSION_CODE =10
2222GROUP =com.arasthel
2323
2424POM_DESCRIPTION =Android library for View Injection and Async processing
You can’t perform that action at this time.
0 commit comments