Skip to content

Commit 23825b1

Browse files
Update scalafmt-core to 3.9.1 (#225)
* Update scalafmt-core to 3.9.1 * Reformat with scalafmt 3.9.1 Executed command: scalafmt --non-interactive * Add 'Reformat with scalafmt 3.9.1' to .git-blame-ignore-revs
1 parent 93279d9 commit 23825b1

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,6 @@ fade5fe3272078547e5ca2a7ef80a085a8d24b24
2424

2525
# Scala Steward: Reformat with scalafmt 3.9.0
2626
5428c1b0fd387b524dea6571e34ab17c5df39760
27+
28+
# Scala Steward: Reformat with scalafmt 3.9.1
29+
ae9aadfa2b4779b5096a9004d6d7f5d9db2c2c7f

.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.9.0
3+
version = 3.9.1
44
assumeStandardLibraryStripMargin = true
55
align.stripMargin = true
66
runner.dialect = scala3

modules/scala-api/src/main/scala/org/apache/flinkx/api/StreamExecutionEnvironment.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,15 +974,17 @@ object StreamExecutionEnvironment {
974974
if (!isFailFastOnScalaTypeResolutionWithClassConfigured && !isFailFastOnScalaTypeResolutionWithClassDisabled) {
975975
isFailFastOnScalaTypeResolutionWithClassConfigured = true
976976
try {
977-
val typeExtractorClass = Class.forName("org.apache.flink.api.java.typeutils.TypeExtractor")
977+
val typeExtractorClass = Class.forName("org.apache.flink.api.java.typeutils.TypeExtractor")
978978
val registerFactoryMethod = typeExtractorClass.getMethod("registerFactory", classOf[Type], classOf[Class[_]])
979979
registerFactoryMethod.invoke(null, classOf[Product], classOf[FailFastTypeInfoFactory])
980980
registerFactoryMethod.invoke(null, classOf[Option[_]], classOf[FailFastTypeInfoFactory])
981981
registerFactoryMethod.invoke(null, classOf[Either[_, _]], classOf[FailFastTypeInfoFactory])
982982
registerFactoryMethod.invoke(null, classOf[Iterable[_]], classOf[FailFastTypeInfoFactory])
983983
} catch {
984984
case t: Throwable =>
985-
log.info(s"Unable to activate 'fail-fast on Scala type resolution with Class' feature: available from Flink 1.19: $t")
985+
log.info(
986+
s"Unable to activate 'fail-fast on Scala type resolution with Class' feature: available from Flink 1.19: $t"
987+
)
986988
}
987989
}
988990
}

0 commit comments

Comments
 (0)