diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-10-29 17:51:31 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-10-29 17:51:31 +0300 |
commit | e5306fe45388b715807ddad6c7173861c6c8e1a6 (patch) | |
tree | ef08e7d0e88d26bb4790fdf0f396156540585adc /core/testdata | |
parent | 711717a7a2f6b22050b1418173d7097b5f6bcd8d (diff) | |
download | dokka-e5306fe45388b715807ddad6c7173861c6c8e1a6.tar.gz dokka-e5306fe45388b715807ddad6c7173861c6c8e1a6.tar.bz2 dokka-e5306fe45388b715807ddad6c7173861c6c8e1a6.zip |
Fix test data
As Javadoc spec doesn't allow @param tag for classes
Diffstat (limited to 'core/testdata')
-rw-r--r-- | core/testdata/format/javaCodeInParam.java | 10 | ||||
-rw-r--r-- | core/testdata/format/javaCodeInParam.md | 13 |
2 files changed, 10 insertions, 13 deletions
diff --git a/core/testdata/format/javaCodeInParam.java b/core/testdata/format/javaCodeInParam.java index 73025fcc..0d1607ba 100644 --- a/core/testdata/format/javaCodeInParam.java +++ b/core/testdata/format/javaCodeInParam.java @@ -1,5 +1,7 @@ -/** - * @param T this is {@code some code} and other text - */ -class C<T> { +class C { + + /** + * @param par this is {@code some code} and other text + */ + public void withParam(String par) {} } diff --git a/core/testdata/format/javaCodeInParam.md b/core/testdata/format/javaCodeInParam.md index 319c6d87..566b176d 100644 --- a/core/testdata/format/javaCodeInParam.md +++ b/core/testdata/format/javaCodeInParam.md @@ -1,14 +1,9 @@ -[test](../index.md) / [C](./index.md) +[test](../index.md) / [C](index.md) / [withParam](./with-param.md) -# C +# withParam -`protected open class C<T : Any>` +`open fun withParam(par: String!): Unit` ### Parameters -`T` - this is `some code` and other text - -### Constructors - -| [<init>](-init-.md) | `C()` | - +`par` - String!: this is `some code` and other text
\ No newline at end of file |