We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d4a2e3 commit 2a2bd23Copy full SHA for 2a2bd23
compat/src/main/scala-2.11_2.12/scala/util/Using.scala
@@ -275,7 +275,9 @@ object Using {
275
if (toThrow eq null) releasable.release(resource)
276
else {
277
try releasable.release(resource)
278
- catch { case other: Throwable => toThrow = preferentiallySuppress(toThrow, other) } finally throw toThrow
+ catch {
279
+ case other: Throwable => toThrow = preferentiallySuppress(toThrow, other)
280
+ } finally throw toThrow
281
}
282
283
0 commit comments