Skip to content

Commit fba6cea

Browse files
author
Mathias Bogaert
committed
Remove useless @volatile from lazy val logger.
1 parent 4921311 commit fba6cea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/typesafe/scalalogging/Logging.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import org.slf4j.LoggerFactory
2424
*/
2525
trait LazyLogging {
2626

27-
@volatile protected lazy val logger: Logger =
27+
protected lazy val logger: Logger =
2828
Logger(LoggerFactory.getLogger(getClass.getName))
2929
}
3030

0 commit comments

Comments
 (0)