Run spotless formatting (#958)

When we updated spotless's Java and Kotlin formatter, we changed the underlying
formatting rules.
However, due to spotless ratcheting, these formatting changes don't get applied unless a file
gets touched in a commit.

To avoid future PRs introducing lines of change that aren't related to the intention of the PR,
this is a one-time format of all files.
This commit is contained in:
Daniel Chao
2025-02-17 07:36:43 -08:00
committed by GitHub
parent d270829ed3
commit 28b128f86f
79 changed files with 679 additions and 682 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved.
* Copyright © 2024-2025 Apple Inc. and the Pkl project authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -46,7 +46,7 @@ class DocScopeTest {
"sourceCode".toUri(),
"https://example.com/mypackage/blob/1.2.3%{path}#L%{line}-L%{endLine}",
"issueTracker".toUri(),
overview = "overview docs"
overview = "overview docs",
)
private val module: ModuleSchema by lazy {
@@ -87,7 +87,7 @@ class DocScopeTest {
listOf(DocPackage(docPackageInfo, mutableListOf(module))),
mapOf(),
{ evaluator.evaluateSchema(uri(it)) },
"/output/dir".toPath()
"/output/dir".toPath(),
)
}
@@ -122,7 +122,7 @@ class DocScopeTest {
classScope,
typeAliasScope,
classPropertyScope,
classMethodScope
classMethodScope,
)
@JvmStatic

View File

@@ -1,5 +1,5 @@
/*
* Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved.
* Copyright © 2024-2025 Apple Inc. and the Pkl project authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,10 +45,10 @@ class SearchTest {
base =
CliBaseOptions(
sourceModules = listOf(packageModule) + inputModules,
settings = URI("pkl:settings")
settings = URI("pkl:settings"),
),
outputDir = pkldocDir,
true
true,
)
)
.run()
@@ -145,8 +145,8 @@ class SearchTest {
"com.package1.modulePropertyComments",
"com.package1.modulePropertyModifiers",
"com.package1.modulePropertyTypeAnnotations",
"com.package1.modulePropertyTypeReferences"
)
"com.package1.modulePropertyTypeReferences",
),
)
}
@@ -159,8 +159,8 @@ class SearchTest {
"com.package1.classMethodTypeReferences",
"com.package1.classPropertyTypeReferences",
"com.package1.moduleMethodTypeReferences",
"com.package1.modulePropertyTypeReferences"
)
"com.package1.modulePropertyTypeReferences",
),
)
}
@@ -172,8 +172,8 @@ class SearchTest {
"prpertyWithExpandableComment",
"AnnotatedClssWithExpandableComment",
"ClassWithAnnotatedProperty",
"mthodWithExpandableComment"
)
"mthodWithExpandableComment",
),
)
}
@@ -195,8 +195,8 @@ class SearchTest {
"com.package1.modulePropertyTypeAnnotations",
"com.package1.modulePropertyCommentInheritance",
"com.package1.docExampleSubject1",
"com.package1.docExampleSubject2"
)
"com.package1.docExampleSubject2",
),
)
}
@@ -208,8 +208,8 @@ class SearchTest {
"com.package1.classInheritance",
"city", // disregard
"com.package1.moduleMethodCommentInheritance",
"com.package1.modulePropertyCommentInheritance"
)
"com.package1.modulePropertyCommentInheritance",
),
)
}