Egor Andreevich
Egor Andreevich
The guide sets the following guidelines for single-expression functions: > Expression functions should not wrap to two lines. If an expression function grows to require wrapping, use a normal function...
**Environment:** Android Studio Arctic Fox | 2020.3.1 Canary 12 Build #AI-203.7148.57.2031.7226969, built on March 22, 2021 Runtime version: 11.0.8+10-b944.6842174 x86_64 VM: OpenJDK 64-Bit Server VM by N/A macOS 10.16 GC:...
It's my understanding that during proto deserialization the fields that don't match any `@SerialId` tags get discarded. It would be useful to allow capturing these fields in a `ByteArray` so...
Coroutines will graduate to stable in Kotlin 1.3, which is currently in pre-release stages. We need a design doc on how Okio will be using coroutines and start sketching out...
Example run: https://travis-ci.org/square/okio/builds/526916855 Those tests are time-based which probably causes them to fail on a slow machine. Need to verify their correctness and potentially use a `FakeClock` instead of real...
https://github.com/square/okio/pull/721/checks?check_run_id=709850402 ``` okio.AsyncTimeoutTest[jvm] > sinkSplitsLargeWrites[jvm] FAILED java.io.InterruptedIOException at AsyncTimeoutTest.java:357 ```
Probably a relict of JavaPoet where a control flow would almost certainly be followed by new line. With Kotlin, new line by default makes code like below look bad: ```kotlin...
Treating all spaces as wrapping by default leads to shorter lines and better formatting overall, but in certain cases can break compilation (there's a large number of issues mentioning this...
Publishing releases manually is not straightforward and not secure, let's do better. We should have enough tools available to us to automate the entire process. Here's the proposed workflow: 1....