Skip to content

Commit 502687b

Browse files
committed
Fixed bug when SwissKnife couldn't find a method
1 parent 5e8cdf2 commit 502687b

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog:
22

33
### Versions:
4+
* **1.1.2** - Fixed BIG bug when SwissKnife couldn't find the method.
45
* **1.1.1** - @OnBackground and @OnUIThread now can be used with static methods. Solved several method search problems, too.
56
* **1.1.0** - New @SaveInstance annotation to automatically save and restore variables on configuration changes.
67
* **1.0.4** - Fixed bug in @InjectViews annotation which didn't recognize "List" as a valid container.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Once your project App Module is configured to use Groovy you can add this librar
8484
```groovy
8585
dependencies {
8686
...
87-
compile 'com.arasthel:swissknife:1.1.1'
87+
compile 'com.arasthel:swissknife:1.1.2'
8888
...
8989
}
9090

SwissKnife/src/main/groovy/com/arasthel/swissknife/SwissKnife.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ public class SwissKnife {
445445
}
446446

447447
// If method is private (shouldn't be), we make it accessible
448-
if(!method.isAccessible()) {
448+
if(method && !method.isAccessible()) {
449449
method.setAccessible(true)
450450
}
451451

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
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.1
21-
VERSION_CODE=7
20+
VERSION_NAME=1.1.2
21+
VERSION_CODE=8
2222
GROUP=com.arasthel
2323

2424
POM_DESCRIPTION=Android library for View Injection and Async processing

0 commit comments

Comments
 (0)