diff options
author | Salvatore Benedetto <salvabenedetto@meta.com> | 2022-11-17 01:29:28 -0800 |
---|---|---|
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | 2022-11-17 01:29:28 -0800 |
commit | 6e22df0df7111ce7209c65ee6d54d86a1260bfc5 (patch) | |
tree | dbabb3df07a372519b1db7c704b3ef831b2eadc2 | |
parent | 48a8fbdff41ef220bb64fbbe2c70203372607e00 (diff) | |
download | ktfmt-6e22df0df7111ce7209c65ee6d54d86a1260bfc5.tar.gz |
Drop I from column variable name
Summary:
No idea why there was a I appended to the name. I guess I'll
find out during the review
Reviewed By: hick209
Differential Revision: D41335537
fbshipit-source-id: f472df100ff348b3cb13ad879a409a715c30a406
-rw-r--r-- | core/src/main/java/com/facebook/ktfmt/format/KotlinTok.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/java/com/facebook/ktfmt/format/KotlinTok.kt b/core/src/main/java/com/facebook/ktfmt/format/KotlinTok.kt index d03a7e4..5db843e 100644 --- a/core/src/main/java/com/facebook/ktfmt/format/KotlinTok.kt +++ b/core/src/main/java/com/facebook/ktfmt/format/KotlinTok.kt @@ -26,7 +26,7 @@ class KotlinTok( private val originalText: String, private val text: String, private val position: Int, - private val columnI: Int, + private val column: Int, val isToken: Boolean, private val kind: KtToken ) : Input.Tok { @@ -41,7 +41,7 @@ class KotlinTok( override fun getPosition(): Int = position - override fun getColumn(): Int = columnI + override fun getColumn(): Int = column override fun isNewline(): Boolean = Newlines.isNewline(text) @@ -60,7 +60,7 @@ class KotlinTok( .add("index", index) .add("text", text) .add("position", position) - .add("columnI", columnI) + .add("column", column) .add("isToken", isToken) .toString() } |