Skip to content

Commit 6c718ae

Browse files
committed
use spaces
Signed-off-by: Ryan Nett <rnett@calpoly.edu>
1 parent 54535ab commit 6c718ae

File tree

1 file changed

+2
-1
lines changed
  • tensorflow-core-kotlin/tensorflow-core-kotlin-generator/src/main/kotlin/org/tensorflow/processor/operator

1 file changed

+2
-1
lines changed

tensorflow-core-kotlin/tensorflow-core-kotlin-generator/src/main/kotlin/org/tensorflow/processor/operator/KotlinOpsProcessor.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class KotlinOpsProcessor : BaseOperatorProcessor<TypeSpec>() {
3333
try {
3434
val text = buildString {
3535
FileSpec.builder(PACKAGE, spec.name ?: error("Type spec has no name"))
36-
.indent("\t")
36+
.indent(" ")
3737
.addComment(LICENSE)
3838
.addComment("\nThis class has been generated, DO NOT EDIT!\n")
3939
.addType(spec)
@@ -43,6 +43,7 @@ class KotlinOpsProcessor : BaseOperatorProcessor<TypeSpec>() {
4343
.replace("import java.(lang|util).[\\w.*]+\r?\n".toRegex(), "")
4444
.replace("java.lang.", "")
4545
.replace("java.util.List", "List")
46+
.replace("\t", " ")
4647

4748
val packageFile = File(sourceDir, PACKAGE.replace(".", "/"))
4849
packageFile.mkdirs()

0 commit comments

Comments
 (0)