From 361a7a40d35e09d7f622fcafd28531172a139e0e Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 22 Dec 2009 20:11:29 +0000 Subject: Took full advantage of the new =>? alias for th... Took full advantage of the new =>? alias for the superverbosely named PartialFunction by renaming every usage of the latter except when in comments. --- src/swing/scala/swing/Reactions.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/swing') diff --git a/src/swing/scala/swing/Reactions.scala b/src/swing/scala/swing/Reactions.scala index 14d4deb981..a2327d7b18 100644 --- a/src/swing/scala/swing/Reactions.scala +++ b/src/swing/scala/swing/Reactions.scala @@ -27,7 +27,7 @@ object Reactions { } } - type Reaction = PartialFunction[Event, Unit] + type Reaction = Event =>? Unit /** * A Reaction implementing this trait is strongly referenced in the reaction list -- cgit v1.2.3