Commit 8c3f1bf
authored
Fix deprecations (#994)
Fix usages of deprecated methods:
- Router#accept. According to its Javadoc:
> This method is now deprecated you can use this object directly as
a request handler, which means there is no need for a method reference
anymore.
- RequestBody#create. According to its Javadoc:
> Moved to extension function. Put the 'content' argument first to fix Java1 parent 0baaf6b commit 8c3f1bf
4 files changed
Lines changed: 4 additions & 4 deletions
File tree
- exonum-java-binding
- core/src/main/java/com/exonum/binding/core/transport
- cryptocurrency-demo/src/test/java/com/exonum/binding/cryptocurrency
- qa-service/src/test/java/com/exonum/binding/qaservice
- exonum-light-client/src/main/java/com/exonum/client
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
| 214 | + | |
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| |||
0 commit comments