Skip to content

Commit aea41d9

Browse files
author
Karl Chan
committed
Add missing new keyword for Scala 2 compatibility
1 parent 30b3840 commit aea41d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/sttp/model/Header.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ object Header {
144144
//
145145

146146
private lazy val Rfc850DatetimeFormat =
147-
DateTimeFormatterBuilder()
147+
new DateTimeFormatterBuilder()
148148
.appendPattern("dd-MMM-")
149149
.appendValueReduced(ChronoField.YEAR, 2, 4, 1970)
150150
.appendPattern(" HH:mm:ss zzz")

0 commit comments

Comments
 (0)