Skip to content

Commit

Permalink
Fixed bug when SwissKnife couldn't find a method
Browse files Browse the repository at this point in the history
  • Loading branch information
jmartinesp committed Oct 29, 2014
1 parent 5e8cdf2 commit 502687b
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.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.
* **1.1.0** - New @SaveInstance annotation to automatically save and restore variables on configuration changes.
* **1.0.4** - Fixed bug in @InjectViews annotation which didn't recognize "List" as a valid container.
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.1'
compile 'com.arasthel:swissknife:1.1.2'
...
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public class SwissKnife {
}

// If method is private (shouldn't be), we make it accessible
if(!method.isAccessible()) {
if(method && !method.isAccessible()) {
method.setAccessible(true)
}

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.1
VERSION_CODE=7
VERSION_NAME=1.1.2
VERSION_CODE=8
GROUP=com.arasthel

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

0 comments on commit 502687b

Please sign in to comment.