Skip to content

Commit 46c781a

Browse files
committed
run scala compile . -rewrite -source 3.4-migration
1 parent 44b82fa commit 46c781a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/scala/introprog/Swing.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ object Swing:
2626

2727
/** Find a look and feel with a name including `partOfName`. */
2828
def findLookAndFeel(partOfName: String): Option[String] =
29-
installedLookAndFeels.find(_.toLowerCase contains partOfName)
29+
installedLookAndFeels.find(_.toLowerCase `contains` partOfName)
3030

3131
/** Test if the current operating system name includes `partOfName`. */
3232
def isOS(partOfName: String): Boolean =

0 commit comments

Comments
 (0)