summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik De Rijcke <derijcke.erik@gmail.com>2015-02-11 20:45:23 +0100
committerErik De Rijcke <derijcke.erik@gmail.com>2015-02-11 20:45:23 +0100
commitf99a3d80a83730dfb417c6256ca840e5b348c7c2 (patch)
tree89501d4495a02a7bc4acab4dcab30ea5fde198b6
parent0a37fc775ab868c301e76c49f81d37a0c5472213 (diff)
fix javadoc errors
-rw-r--r--generator/src/main/java/org/freedesktop/wayland/generator/impl/ProxyWriter.java6
1 files changed, 2 insertions, 4 deletions
diff --git a/generator/src/main/java/org/freedesktop/wayland/generator/impl/ProxyWriter.java b/generator/src/main/java/org/freedesktop/wayland/generator/impl/ProxyWriter.java
index 2b1dee9..26351cb 100644
--- a/generator/src/main/java/org/freedesktop/wayland/generator/impl/ProxyWriter.java
+++ b/generator/src/main/java/org/freedesktop/wayland/generator/impl/ProxyWriter.java
@@ -85,7 +85,7 @@ public class ProxyWriter {
//class javadoc
String typeDoc = getDoc(interfaceNode);
if (interfaceName.equals("wl_display")) {
- typeDoc += "\n<p>\n{@see " + javaWriter.compressType(Display.class.getName()) + "}";
+ typeDoc += "\n<p>\n@see " + javaWriter.compressType(Display.class.getName());
}
javaWriter.emitJavadoc(typeDoc);
//class annotation
@@ -297,7 +297,6 @@ public class ProxyWriter {
+ "its value will be replaced with the WAYLAND_DISPLAY environment\n"
+ "variable if it is set, otherwise display \"wayland-0\" will be used.\n"
+ "@param name Name of the Wayland display to connect to\n"
- + "@param implementation The listener implementation to use."
+ "@return A {@code WlDisplayProxy} object or null on failure."
)
.beginMethod(getJavaTypeNameProxy(clientPackage,
@@ -320,8 +319,7 @@ public class ProxyWriter {
+ "display is destroyed. The fd will also be closed in case of\n"
+ "failure.\n"
+ "@param fd The fd to use for the connection\n"
- + "@parem implementation The listener implementation to use."
- + "@return A {@code WlDisplayProxy object or null on failure.")
+ + "@return A {@code WlDisplayProxy} object or null on failure.")
.beginMethod(getJavaTypeNameProxy(clientPackage,
interfaceNode,
1),