Skip to content

Commit

Permalink
Releasing v1.1.4. Fixed more bugs with primitives
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinesp committed Nov 2, 2014
1 parent 09187cf commit 65a5ada
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog:

### Versions:
* **1.1.4** - Fixed another minor bug with primitives.
* **1.1.3** - Fixed minor bug where methods with primitive parameters weren't found on method search.
* **1.1.2** - Fixed BIG bug when SwissKnife couldn't find the method.
* **1.1.1** - @OnBackground and @OnUIThread now can be used with static methods. Solved several method search problems, too.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Once your project App Module is configured to use Groovy you can add this librar
```groovy
dependencies {
...
compile 'com.arasthel:swissknife:1.1.3'
compile 'com.arasthel:swissknife:1.1.4'
...
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public class SwissKnife {
Class parameter = m.getParameterTypes()[i]

// If parameter is a primitive, we have to get its wrapper class so we can check for inheritance
if(parameter.isPrimitive()) {
if(parameter.isPrimitive() && !parameters[i].isPrimitive()) {
parameter = getWrapperForPrimitive(parameter)
}
if(!parameter.isAssignableFrom(parameters[i])) {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true

VERSION_NAME=1.1.3
VERSION_CODE=9
VERSION_NAME=1.1.4
VERSION_CODE=10
GROUP=com.arasthel

POM_DESCRIPTION=Android library for View Injection and Async processing
Expand Down

0 comments on commit 65a5ada

Please sign in to comment.