diff options
author | Paul Phillips <paulp@improving.org> | 2009-12-22 20:11:29 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2009-12-22 20:11:29 +0000 |
commit | 361a7a40d35e09d7f622fcafd28531172a139e0e (patch) | |
tree | 53047ba64d5b56cc75b8b67500ad346c398437d6 /src/swing | |
parent | d32b5bc758e9203ed66b2517d2abc2530385c1dc (diff) | |
download | scala-361a7a40d35e09d7f622fcafd28531172a139e0e.tar.gz scala-361a7a40d35e09d7f622fcafd28531172a139e0e.tar.bz2 scala-361a7a40d35e09d7f622fcafd28531172a139e0e.zip |
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.
Diffstat (limited to 'src/swing')
-rw-r--r-- | src/swing/scala/swing/Reactions.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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 |