Skip to content

Commit 841ee73

Browse files
authoredMar 30, 2024
Update scalafmt-core to 3.8.1 (#104)
* Update scalafmt-core to 3.8.1 * Reformat with scalafmt 3.8.1 Executed command: scalafmt --non-interactive * Add 'Reformat with scalafmt 3.8.1' to .git-blame-ignore-revs
1 parent eb11a1b commit 841ee73

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed
 

‎.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ cd88dbd39d341e4d83dbaed57b1fe497159ba0be
1212

1313
# Scala Steward: Reformat with scalafmt 3.8.0
1414
ac01058463c34eb216d3d3c0500dfce038fc4cff
15+
16+
# Scala Steward: Reformat with scalafmt 3.8.1
17+
fade5fe3272078547e5ca2a7ef80a085a8d24b24

‎.scalafmt.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
style = defaultWithAlign
22
maxColumn = 120
3-
version = 3.8.0
3+
version = 3.8.1
44
assumeStandardLibraryStripMargin = true
55
align.stripMargin = true
66
runner.dialect = scala3

‎src/test/scala/org/apache/flinkx/api/SerializerSnapshotTest.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ class SerializerSnapshotTest extends AnyFlatSpec with Matchers {
7171

7272
it should "be compatible after snapshot deserialization in different classloader" in {
7373
val ser = deriveTypeInformation[SimpleClass1].createSerializer(null)
74-
val cl = newClassLoader(classOf[SimpleClass1])
74+
val cl = newClassLoader(classOf[SimpleClass1])
7575
try {
76-
val restored = roundtripSerializer(ser, cl)
76+
val restored = roundtripSerializer(ser, cl)
7777
val compatibility = restored.snapshotConfiguration().resolveSchemaCompatibility(ser)
7878
compatibility shouldBe Symbol("compatibleAsIs")
7979
} finally {
@@ -82,7 +82,7 @@ class SerializerSnapshotTest extends AnyFlatSpec with Matchers {
8282
}
8383

8484
def roundtripSerializer[T](ser: TypeSerializer[T], cl: ClassLoader = getClass.getClassLoader): TypeSerializer[T] = {
85-
val snap = ser.snapshotConfiguration()
85+
val snap = ser.snapshotConfiguration()
8686
val buffer = new ByteArrayOutputStream()
8787
val output = new DataOutputViewStreamWrapper(buffer)
8888
snap.writeSnapshot(output)

0 commit comments

Comments
 (0)
Please sign in to comment.