diff options
author | Martin Odersky <odersky@gmail.com> | 2015-04-23 21:06:42 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-04-23 21:06:42 +0200 |
commit | 2b3591cec6a1d58f3346b6c8933ca0742f13c1cf (patch) | |
tree | f334787708775f72a8f4bdf10e384a89460414a8 /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | 36c229ba8c3d44546b34446ca36c8f335a9c5f47 (diff) | |
download | dotty-2b3591cec6a1d58f3346b6c8933ca0742f13c1cf.tar.gz dotty-2b3591cec6a1d58f3346b6c8933ca0742f13c1cf.tar.bz2 dotty-2b3591cec6a1d58f3346b6c8933ca0742f13c1cf.zip |
Remove trailing whitespace
I have figured out how to make this the default in Eclipse, so hopefully
we won't see many repeats of this.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index 0b5e10220..83499ca7b 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -210,9 +210,9 @@ object SymDenotations { /** Does this denotation have an annotation matching the given class symbol? */ final def hasAnnotation(cls: Symbol)(implicit ctx: Context) = dropOtherAnnotations(annotations, cls).nonEmpty - + /** Apply transform `f` to all annotations of this denotation */ - final def transformAnnotations(f: Annotation => Annotation)(implicit ctx: Context): Unit = + final def transformAnnotations(f: Annotation => Annotation)(implicit ctx: Context): Unit = annotations = annotations.mapConserve(f) /** Optionally, the annotation matching the given class symbol */ |