-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[J2KT] Converts kotlin/source/Source.kt to conform to Kotlin readabil…
…ity guidelines: - convert "data class" to "class", since Source is not designed to ack as one, - remove toString() and replace it with buildString(), - move most of extension functions to instance functions, - move most of top-level functions to companion object, - convert properties to functions with zero-arguments, - add missing comments to non-obvious public members, - encapsulate implementation internals. All files except kotlin/source/Source.kt are the side-effects of the refactoring. PiperOrigin-RevId: 565350339
- Loading branch information
1 parent
1fbb241
commit 8b5e7ad
Showing
19 changed files
with
524 additions
and
447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.