diff options
author | Paul Phillips <paulp@improving.org> | 2012-02-05 22:38:20 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-02-05 22:38:20 -0800 |
commit | 5be13bf0e0a2df0ddeda7652db0f54c0cba6c3bf (patch) | |
tree | 60e8b478d7f8eda0a407d1a4668de6a14ed22e83 /test/scaladoc/resources/implicit-inheritance-override.scala | |
parent | 9d00ea8d389f4426f1f644e0a7f48e9ea380e9fc (diff) | |
download | scala-5be13bf0e0a2df0ddeda7652db0f54c0cba6c3bf.tar.gz scala-5be13bf0e0a2df0ddeda7652db0f54c0cba6c3bf.tar.bz2 scala-5be13bf0e0a2df0ddeda7652db0f54c0cba6c3bf.zip |
Revert "Scaladoc @usecase annotation overriding / SI-5287"
This reverts commit 7946ac410ad74894cd0eb6dfd29447f173911b99.
Diffstat (limited to 'test/scaladoc/resources/implicit-inheritance-override.scala')
-rw-r--r-- | test/scaladoc/resources/implicit-inheritance-override.scala | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/test/scaladoc/resources/implicit-inheritance-override.scala b/test/scaladoc/resources/implicit-inheritance-override.scala deleted file mode 100644 index 85b8e8d543..0000000000 --- a/test/scaladoc/resources/implicit-inheritance-override.scala +++ /dev/null @@ -1,41 +0,0 @@ -// This tests the implicit comment inheritance capabilities of scaladoc for class inheritance (no $super, no @inheritdoc) -class Base { - /** - * The base comment. And another sentence... - * - * @param arg1 The T term comment - * @param arg2 The string comment - * @tparam T the type of the first argument - * @return The return comment - */ - def function[T](arg1: T, arg2: String): Double = 0.0d -} - -class DerivedA extends Base { - /** - * Overriding the comment, the params and returns comments should stay the same. - */ - override def function[T](arg1: T, arg2: String): Double = 1.0d -} - -class DerivedB extends Base { - /** - * @param arg1 The overridden T term comment - * @param arg2 The overridden string comment - */ - override def function[T](arg1: T, arg2: String): Double = 2.0d -} - -class DerivedC extends Base { - /** - * @return The overridden return comment - */ - override def function[T](arg1: T, arg2: String): Double = 3.0d -} - -class DerivedD extends Base { - /** - * @tparam T The overriden type parameter comment - */ - override def function[T](arg1: T, arg2: String): Double = 3.0d -}
\ No newline at end of file |