summaryrefslogtreecommitdiff
path: root/test/files/presentation/doc/doc.scala
diff options
context:
space:
mode:
authorEugene Vigdorchik <eugene.vigdorchik@gmail.com>2013-04-26 16:39:20 +0400
committerEugene Vigdorchik <eugene.vigdorchik@gmail.com>2013-05-16 16:10:11 +0400
commitc88f7338882c8ae81f1004407bc8c21b1cbe7b36 (patch)
tree5cae494f103701b93d84c62875386196f270bf4e /test/files/presentation/doc/doc.scala
parent5819b78c25c9cba25fc84018d3905fe265bb4e18 (diff)
downloadscala-c88f7338882c8ae81f1004407bc8c21b1cbe7b36.tar.gz
scala-c88f7338882c8ae81f1004407bc8c21b1cbe7b36.tar.bz2
scala-c88f7338882c8ae81f1004407bc8c21b1cbe7b36.zip
Improve code style in the Scaladoc implementation.
It fixes the following inefficiences or code style violations: - Explicit asInstanceOf calls. - Boxing symbols instead of using plain NoSymbol. - Matching `this` instead of late-binding.
Diffstat (limited to 'test/files/presentation/doc/doc.scala')
-rwxr-xr-xtest/files/presentation/doc/doc.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/presentation/doc/doc.scala b/test/files/presentation/doc/doc.scala
index 916b7832f4..a64a423cc5 100755
--- a/test/files/presentation/doc/doc.scala
+++ b/test/files/presentation/doc/doc.scala
@@ -71,7 +71,7 @@ object Test extends InteractiveTest {
if (expanded.isEmpty)
None
else
- Some(ask { () => parseAtSymbol(expanded, raw, pos, Some(sym.owner)) })
+ Some(ask { () => parseAtSymbol(expanded, raw, pos, sym.owner) })
}
}
}