Commit 2ad8edf
committed
Satisfy detekt and checkstyle
- @Suppress("ReturnCount") on ensureAuth — its five returns are each a distinct
auth outcome; a single-return rewrite would read worse.
- Drop a stray blank line before a brace left from removing a test region.1 parent 80bd4cd commit 2ad8edf
2 files changed
Lines changed: 3 additions & 1 deletion
File tree
- WordPress/src
- main/java/org/wordpress/android/repositories
- test/java/org/wordpress/android/ui/posts
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
481 | 481 | | |
482 | 482 | | |
483 | 483 | | |
484 | | - | |
485 | 484 | | |
0 commit comments