aboutsummaryrefslogtreecommitdiff
path: root/test/data
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-11-03 19:36:48 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-11-03 19:36:48 +0100
commitf724ba6fc6cddfe09015b5ee1d66122c158f11ba (patch)
tree851dedb47d0a9915fcee949d5cd11f316fab7299 /test/data
parent6813d65272284b3aaa37907f7c23b3c01ed6f526 (diff)
downloaddokka-f724ba6fc6cddfe09015b5ee1d66122c158f11ba.tar.gz
dokka-f724ba6fc6cddfe09015b5ee1d66122c158f11ba.tar.bz2
dokka-f724ba6fc6cddfe09015b5ee1d66122c158f11ba.zip
build Kotlin documentation for Java files based on descriptors
Diffstat (limited to 'test/data')
-rw-r--r--test/data/format/javaCodeInParam.java2
-rw-r--r--test/data/format/javaCodeInParam.md10
-rw-r--r--test/data/format/javaCodeLiteralTags.java2
-rw-r--r--test/data/format/javaCodeLiteralTags.md10
-rw-r--r--test/data/format/javaDeprecated.html6
-rw-r--r--test/data/format/javaDeprecated.java2
-rw-r--r--test/data/format/javaLinkTag.html21
-rw-r--r--test/data/format/javaLinkTag.java2
-rw-r--r--test/data/format/javaLinkTagWithLabel.html21
-rw-r--r--test/data/format/javaLinkTagWithLabel.java2
-rw-r--r--test/data/format/javaSeeTag.html19
-rw-r--r--test/data/format/javaSeeTag.java4
-rw-r--r--test/data/format/javaSpaceInAuthor.java2
-rw-r--r--test/data/format/javaSpaceInAuthor.md10
-rw-r--r--test/data/format/javaSupertype.html21
-rw-r--r--test/data/format/javaSupertype.java2
-rw-r--r--test/data/format/javadocHtml.java2
-rw-r--r--test/data/format/javadocHtml.md8
-rw-r--r--test/data/format/javadocOrderedList.java2
-rw-r--r--test/data/format/javadocOrderedList.md8
-rw-r--r--test/data/java/annotatedAnnotation.java3
-rw-r--r--test/data/java/arrayType.java2
-rw-r--r--test/data/java/constructors.java2
-rw-r--r--test/data/java/deprecation.java7
-rw-r--r--test/data/java/enumValues.java2
-rw-r--r--test/data/java/field.java2
-rw-r--r--test/data/java/inheritorLinks.java2
-rw-r--r--test/data/java/innerClass.java2
-rw-r--r--test/data/java/javaLangObject.java2
-rw-r--r--test/data/java/member.java2
-rw-r--r--test/data/java/memberWithModifiers.java4
-rw-r--r--test/data/java/staticMethod.java2
-rw-r--r--test/data/java/superClass.java2
-rw-r--r--test/data/java/typeParameter.java2
-rw-r--r--test/data/java/varargs.java2
35 files changed, 111 insertions, 83 deletions
diff --git a/test/data/format/javaCodeInParam.java b/test/data/format/javaCodeInParam.java
index d1cdf6cd..73025fcc 100644
--- a/test/data/format/javaCodeInParam.java
+++ b/test/data/format/javaCodeInParam.java
@@ -1,5 +1,3 @@
-package test;
-
/**
* @param T this is {@code some code} and other text
*/
diff --git a/test/data/format/javaCodeInParam.md b/test/data/format/javaCodeInParam.md
index 88cb6912..b1d2d871 100644
--- a/test/data/format/javaCodeInParam.md
+++ b/test/data/format/javaCodeInParam.md
@@ -1,9 +1,9 @@
-[test](test/index) / [test](test/test/index) / [C](test/test/-c)
+[test](test/index) / [C](test/-c/index)
# C
-`open class C&lt;T&gt;`
+`protected open class C&lt;T&nbsp;:&nbsp;Any&gt;`
@@ -13,3 +13,9 @@
`T` - this is `some code` and other text
+
+### Constructors
+
+
+| [&lt;init&gt;](test/-c/-init-) | `C()` |
+
diff --git a/test/data/format/javaCodeLiteralTags.java b/test/data/format/javaCodeLiteralTags.java
index cf071f07..e71ddaa7 100644
--- a/test/data/format/javaCodeLiteralTags.java
+++ b/test/data/format/javaCodeLiteralTags.java
@@ -1,5 +1,3 @@
-package test;
-
/**
* <p>{@code A<B>C}</p>
* <p>{@literal A<B>C}</p>
diff --git a/test/data/format/javaCodeLiteralTags.md b/test/data/format/javaCodeLiteralTags.md
index 17438bff..83c9cc33 100644
--- a/test/data/format/javaCodeLiteralTags.md
+++ b/test/data/format/javaCodeLiteralTags.md
@@ -1,9 +1,9 @@
-[test](test/index) / [test](test/test/index) / [C](test/test/-c)
+[test](test/index) / [C](test/-c/index)
# C
-`open class C`
+`protected open class C`
`A&lt;B&gt;C`
@@ -15,3 +15,9 @@ A&lt;B&gt;C
+
+### Constructors
+
+
+| [&lt;init&gt;](test/-c/-init-) | `C()` |
+
diff --git a/test/data/format/javaDeprecated.html b/test/data/format/javaDeprecated.html
index 9e8958a2..236c6490 100644
--- a/test/data/format/javaDeprecated.html
+++ b/test/data/format/javaDeprecated.html
@@ -1,13 +1,13 @@
<HTML>
<HEAD>
-<title>test / test.Foo.foo</title>
+<title>test / Foo.foo</title>
</HEAD>
<BODY>
-<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/test/index">test</a>&nbsp;/&nbsp;<a href="test/test/-foo/index">Foo</a>&nbsp;/&nbsp;<a href="test/test/-foo/foo">foo</a><br/>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/-foo/index">Foo</a>&nbsp;/&nbsp;<a href="test/-foo/foo">foo</a><br/>
<br/>
<h1>foo</h1>
<code><span class="keyword">open</span> <span class="keyword">fun </span><s><span class="identifier">foo</span></s><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code><br/>
-<strong>Deprecated:</strong> use <code><a href="test/test/-foo/bar">#bar</a></code> instead <p></p>
+<strong>Deprecated:</strong> use <code><a href="test/-foo/bar">#bar</a></code> instead <p></p>
<br/>
<br/>
</BODY>
diff --git a/test/data/format/javaDeprecated.java b/test/data/format/javaDeprecated.java
index 4216f205..9694a444 100644
--- a/test/data/format/javaDeprecated.java
+++ b/test/data/format/javaDeprecated.java
@@ -1,5 +1,3 @@
-package test;
-
class Foo {
/** @deprecated use {@link #bar} instead */
public void foo() {}
diff --git a/test/data/format/javaLinkTag.html b/test/data/format/javaLinkTag.html
index af63710d..1b6921ab 100644
--- a/test/data/format/javaLinkTag.html
+++ b/test/data/format/javaLinkTag.html
@@ -1,21 +1,32 @@
<HTML>
<HEAD>
-<title>test / test.Foo</title>
+<title>test / Foo</title>
</HEAD>
<BODY>
-<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/test/index">test</a>&nbsp;/&nbsp;<a href="test/test/-foo/index">Foo</a><br/>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/-foo/index">Foo</a><br/>
<br/>
<h1>Foo</h1>
-<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code><br/>
-<p>Call <code><a href="test/test/-foo/bar">#bar()</a></code> to do the job. </p>
+<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code><br/>
+<p>Call <code><a href="test/-foo/bar">#bar()</a></code> to do the job. </p>
<br/>
<br/>
+<h3>Constructors</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<a href="test/-foo/-init-">&lt;init&gt;</a></td>
+<td>
+<code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
+</tr>
+</tbody>
+</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
-<a href="test/test/-foo/bar">bar</a></td>
+<a href="test/-foo/bar">bar</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">bar</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
diff --git a/test/data/format/javaLinkTag.java b/test/data/format/javaLinkTag.java
index 06452f16..84f761c6 100644
--- a/test/data/format/javaLinkTag.java
+++ b/test/data/format/javaLinkTag.java
@@ -1,5 +1,3 @@
-package test;
-
/**
* Call {@link #bar()} to do the job.
*/
diff --git a/test/data/format/javaLinkTagWithLabel.html b/test/data/format/javaLinkTagWithLabel.html
index ccf3c712..aabfbc58 100644
--- a/test/data/format/javaLinkTagWithLabel.html
+++ b/test/data/format/javaLinkTagWithLabel.html
@@ -1,21 +1,32 @@
<HTML>
<HEAD>
-<title>test / test.Foo</title>
+<title>test / Foo</title>
</HEAD>
<BODY>
-<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/test/index">test</a>&nbsp;/&nbsp;<a href="test/test/-foo/index">Foo</a><br/>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/-foo/index">Foo</a><br/>
<br/>
<h1>Foo</h1>
-<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code><br/>
-<p>Call <code><a href="test/test/-foo/bar">this wonderful method</a></code> to do the job. </p>
+<code><span class="keyword">protected</span> <span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code><br/>
+<p>Call <code><a href="test/-foo/bar">this wonderful method</a></code> to do the job. </p>
<br/>
<br/>
+<h3>Constructors</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<a href="test/-foo/-init-">&lt;init&gt;</a></td>
+<td>
+<code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
+</tr>
+</tbody>
+</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
-<a href="test/test/-foo/bar">bar</a></td>
+<a href="test/-foo/bar">bar</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">bar</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
diff --git a/test/data/format/javaLinkTagWithLabel.java b/test/data/format/javaLinkTagWithLabel.java
index 7226f1c9..1db5ad70 100644
--- a/test/data/format/javaLinkTagWithLabel.java
+++ b/test/data/format/javaLinkTagWithLabel.java
@@ -1,5 +1,3 @@
-package test;
-
/**
* Call {@link #bar() this wonderful method} to do the job.
*/
diff --git a/test/data/format/javaSeeTag.html b/test/data/format/javaSeeTag.html
index cf7b7941..a6813df3 100644
--- a/test/data/format/javaSeeTag.html
+++ b/test/data/format/javaSeeTag.html
@@ -1,23 +1,34 @@
<HTML>
<HEAD>
-<title>test / test.Foo</title>
+<title>test / Foo</title>
</HEAD>
<BODY>
-<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/test/index">test</a>&nbsp;/&nbsp;<a href="test/test/-foo/index">Foo</a><br/>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/-foo/index">Foo</a><br/>
<br/>
<h1>Foo</h1>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Foo</span></code><br/>
<p></p>
<strong>See Also</strong><br/>
-<a href="test/test/-foo/bar">#bar</a><br/>
+<a href="test/-foo/bar">#bar</a><br/>
<br/>
<br/>
+<h3>Constructors</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<a href="test/-foo/-init-">&lt;init&gt;</a></td>
+<td>
+<code><span class="identifier">Foo</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
+</tr>
+</tbody>
+</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
-<a href="test/test/-foo/bar">bar</a></td>
+<a href="test/-foo/bar">bar</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">bar</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
diff --git a/test/data/format/javaSeeTag.java b/test/data/format/javaSeeTag.java
index e0b95f11..94a24606 100644
--- a/test/data/format/javaSeeTag.java
+++ b/test/data/format/javaSeeTag.java
@@ -1,8 +1,6 @@
-package test;
-
/**
* @see #bar
*/
-class Foo {
+public class Foo {
public void bar() {}
} \ No newline at end of file
diff --git a/test/data/format/javaSpaceInAuthor.java b/test/data/format/javaSpaceInAuthor.java
index b96f5884..f980ae07 100644
--- a/test/data/format/javaSpaceInAuthor.java
+++ b/test/data/format/javaSpaceInAuthor.java
@@ -1,5 +1,3 @@
-package test;
-
/**
* @author Dmitry Jemerov
*/
diff --git a/test/data/format/javaSpaceInAuthor.md b/test/data/format/javaSpaceInAuthor.md
index 425d4c9a..4d19ed01 100644
--- a/test/data/format/javaSpaceInAuthor.md
+++ b/test/data/format/javaSpaceInAuthor.md
@@ -1,9 +1,9 @@
-[test](test/index) / [test](test/test/index) / [C](test/test/-c)
+[test](test/index) / [C](test/-c/index)
# C
-`open class C`
+`protected open class C`
@@ -11,3 +11,9 @@
Dmitry Jemerov
+
+### Constructors
+
+
+| [&lt;init&gt;](test/-c/-init-) | `C()` |
+
diff --git a/test/data/format/javaSupertype.html b/test/data/format/javaSupertype.html
index 2bcc2fce..4c847281 100644
--- a/test/data/format/javaSupertype.html
+++ b/test/data/format/javaSupertype.html
@@ -1,22 +1,33 @@
<HTML>
<HEAD>
-<title>test / test.C.Bar</title>
+<title>test / C.Bar</title>
</HEAD>
<BODY>
-<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/test/index">test</a>&nbsp;/&nbsp;<a href="test/test/-c/index">C</a>&nbsp;/&nbsp;<a href="test/test/-c/-bar/index">Bar</a><br/>
+<a href="test/index">test</a>&nbsp;/&nbsp;<a href="test/-c/index">C</a>&nbsp;/&nbsp;<a href="test/-c/-bar/index">Bar</a><br/>
<br/>
<h1>Bar</h1>
-<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Bar</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="test/test/-c/-foo"><span class="identifier">Foo</span></a></code><br/>
+<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">Bar</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="test/-c/-foo/index"><span class="identifier">Foo</span></a></code><br/>
<br/>
<br/>
+<h3>Constructors</h3>
+<table>
+<tbody>
+<tr>
+<td>
+<a href="test/-c/-bar/-init-">&lt;init&gt;</a></td>
+<td>
+<code><span class="identifier">Bar</span><span class="symbol">(</span><span class="symbol">)</span></code></td>
+</tr>
+</tbody>
+</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
-<a href="test/test/-c/-bar/return-foo">returnFoo</a></td>
+<a href="test/-c/-bar/return-foo">returnFoo</a></td>
<td>
-<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">returnFoo</span><span class="symbol">(</span><span class="identifier">foo</span><span class="symbol">:</span>&nbsp;<a href="test/test/-c/-foo"><span class="identifier">Foo</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="test/test/-c/-foo"><span class="identifier">Foo</span></a></code></td>
+<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">returnFoo</span><span class="symbol">(</span><span class="identifier">foo</span><span class="symbol">:</span>&nbsp;<a href="test/-c/-foo/index"><span class="identifier">Foo</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="test/-c/-foo/index"><span class="identifier">Foo</span></a></code></td>
</tr>
</tbody>
</table>
diff --git a/test/data/format/javaSupertype.java b/test/data/format/javaSupertype.java
index 295c319f..b3142ff6 100644
--- a/test/data/format/javaSupertype.java
+++ b/test/data/format/javaSupertype.java
@@ -1,5 +1,3 @@
-package test;
-
class C {
public static class Foo {
}
diff --git a/test/data/format/javadocHtml.java b/test/data/format/javadocHtml.java
index bcb2cf91..622116b2 100644
--- a/test/data/format/javadocHtml.java
+++ b/test/data/format/javadocHtml.java
@@ -1,5 +1,3 @@
-package test;
-
/**
* <b>Bold</b>
* <strong>Strong</strong>
diff --git a/test/data/format/javadocHtml.md b/test/data/format/javadocHtml.md
index a75ebf35..db71cc3b 100644
--- a/test/data/format/javadocHtml.md
+++ b/test/data/format/javadocHtml.md
@@ -1,4 +1,4 @@
-[test](test/index) / [test](test/test/index) / [C](test/test/-c)
+[test](test/index) / [C](test/-c/index)
# C
@@ -19,3 +19,9 @@ Block code
+
+### Constructors
+
+
+| [&lt;init&gt;](test/-c/-init-) | `C()` |
+
diff --git a/test/data/format/javadocOrderedList.java b/test/data/format/javadocOrderedList.java
index 1c7f8a3e..c32d9032 100644
--- a/test/data/format/javadocOrderedList.java
+++ b/test/data/format/javadocOrderedList.java
@@ -1,5 +1,3 @@
-package test;
-
/**
* <ol>
* <li>Rinse</li>
diff --git a/test/data/format/javadocOrderedList.md b/test/data/format/javadocOrderedList.md
index acd3e809..02a3c095 100644
--- a/test/data/format/javadocOrderedList.md
+++ b/test/data/format/javadocOrderedList.md
@@ -1,4 +1,4 @@
-[test](test/index) / [test](test/test/index) / [Bar](test/test/-bar)
+[test](test/index) / [Bar](test/-bar/index)
# Bar
@@ -12,3 +12,9 @@
+
+### Constructors
+
+
+| [&lt;init&gt;](test/-bar/-init-) | `Bar()` |
+
diff --git a/test/data/java/annotatedAnnotation.java b/test/data/java/annotatedAnnotation.java
index d9fae956..6296e400 100644
--- a/test/data/java/annotatedAnnotation.java
+++ b/test/data/java/annotatedAnnotation.java
@@ -1,6 +1,5 @@
-package test;
+import java.lang.annotation.*;
-@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.TYPE, ElementType.METHOD})
public @interface Attribute {
String value() default "";
diff --git a/test/data/java/arrayType.java b/test/data/java/arrayType.java
index a50e3bf6..dc42a207 100644
--- a/test/data/java/arrayType.java
+++ b/test/data/java/arrayType.java
@@ -1,5 +1,3 @@
-package test;
-
class Test {
public String[] arrayToString(int[] data) {
return null;
diff --git a/test/data/java/constructors.java b/test/data/java/constructors.java
index 3b1838dd..6f899d18 100644
--- a/test/data/java/constructors.java
+++ b/test/data/java/constructors.java
@@ -1,5 +1,3 @@
-package test;
-
class Test {
public Test() {}
diff --git a/test/data/java/deprecation.java b/test/data/java/deprecation.java
index 07cbd901..be8decd6 100644
--- a/test/data/java/deprecation.java
+++ b/test/data/java/deprecation.java
@@ -1,5 +1,6 @@
-package test;
-
class C {
- @Deprecated("This should no longer be used") void fn() {}
+ /**
+ * @deprecated This should no longer be used
+ */
+ void fn() {}
} \ No newline at end of file
diff --git a/test/data/java/enumValues.java b/test/data/java/enumValues.java
index 0f622946..d8dda934 100644
--- a/test/data/java/enumValues.java
+++ b/test/data/java/enumValues.java
@@ -1,5 +1,3 @@
-package test;
-
enum E {
Foo
} \ No newline at end of file
diff --git a/test/data/java/field.java b/test/data/java/field.java
index 47dac0a4..d9ae75f9 100644
--- a/test/data/java/field.java
+++ b/test/data/java/field.java
@@ -1,5 +1,3 @@
-package test;
-
class Test {
public int i;
public static final String s;
diff --git a/test/data/java/inheritorLinks.java b/test/data/java/inheritorLinks.java
index 96caeb1d..2378f5c6 100644
--- a/test/data/java/inheritorLinks.java
+++ b/test/data/java/inheritorLinks.java
@@ -1,5 +1,3 @@
-package test;
-
class C {
public static class Foo {
}
diff --git a/test/data/java/innerClass.java b/test/data/java/innerClass.java
index dd08e100..0f1be948 100644
--- a/test/data/java/innerClass.java
+++ b/test/data/java/innerClass.java
@@ -1,5 +1,3 @@
-package test;
-
class Test {
public class D {
}
diff --git a/test/data/java/javaLangObject.java b/test/data/java/javaLangObject.java
index 8f16629c..be3dd570 100644
--- a/test/data/java/javaLangObject.java
+++ b/test/data/java/javaLangObject.java
@@ -1,5 +1,3 @@
-package test;
-
class Test {
public Object fn() { return null; }
}
diff --git a/test/data/java/member.java b/test/data/java/member.java
index a417ff7e..d4f4b8d5 100644
--- a/test/data/java/member.java
+++ b/test/data/java/member.java
@@ -1,5 +1,3 @@
-package test
-
class Test {
/**
* Summary for Function
diff --git a/test/data/java/memberWithModifiers.java b/test/data/java/memberWithModifiers.java
index 7c236224..ea645c21 100644
--- a/test/data/java/memberWithModifiers.java
+++ b/test/data/java/memberWithModifiers.java
@@ -1,6 +1,4 @@
-package test
-
-abstract class Test {
+public abstract class Test {
/**
* Summary for Function
* @param name is String parameter
diff --git a/test/data/java/staticMethod.java b/test/data/java/staticMethod.java
index 2bbbbf1b..a2ecd7f1 100644
--- a/test/data/java/staticMethod.java
+++ b/test/data/java/staticMethod.java
@@ -1,5 +1,3 @@
-package test;
-
class C {
public static void foo() {
}
diff --git a/test/data/java/superClass.java b/test/data/java/superClass.java
index 99535813..31b5fa96 100644
--- a/test/data/java/superClass.java
+++ b/test/data/java/superClass.java
@@ -1,4 +1,2 @@
-package test;
-
public class Foo extends Exception implements Cloneable {
}
diff --git a/test/data/java/typeParameter.java b/test/data/java/typeParameter.java
index 98a6aee9..5a24b30a 100644
--- a/test/data/java/typeParameter.java
+++ b/test/data/java/typeParameter.java
@@ -1,5 +1,3 @@
-package test
-
class Foo<T extends Comparable<T>> {
public <E> E foo();
}
diff --git a/test/data/java/varargs.java b/test/data/java/varargs.java
index a6af6a8d..d184564e 100644
--- a/test/data/java/varargs.java
+++ b/test/data/java/varargs.java
@@ -1,5 +1,3 @@
-package test
-
class Foo {
public void bar(String... x);
}