From 068721ae08ce09545c0483c8b92df5d72c41aaf9 Mon Sep 17 00:00:00 2001 From: Philipp Naderer Date: Fri, 19 Dec 2014 15:45:01 +0100 Subject: [PATCH] Fixes JavaDoc errors --- src/org/ringojs/engine/ReloadableScript.java | 2 +- src/org/ringojs/engine/RhinoEngine.java | 4 ++-- src/org/ringojs/repository/AbstractRepository.java | 2 +- src/org/ringojs/wrappers/Storable.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/org/ringojs/engine/ReloadableScript.java b/src/org/ringojs/engine/ReloadableScript.java index 695975d66..16d079427 100644 --- a/src/org/ringojs/engine/ReloadableScript.java +++ b/src/org/ringojs/engine/ReloadableScript.java @@ -34,7 +34,7 @@ /** * This class represents a JavaScript Resource. * - * @author Hannes Wallnoefer + * @author Hannes Wallnoefer, hannes@helma.at */ public class ReloadableScript { diff --git a/src/org/ringojs/engine/RhinoEngine.java b/src/org/ringojs/engine/RhinoEngine.java index f019d733e..0efdd9af0 100644 --- a/src/org/ringojs/engine/RhinoEngine.java +++ b/src/org/ringojs/engine/RhinoEngine.java @@ -49,7 +49,7 @@ * This class provides methods to create JavaScript objects * from JavaScript files. * - * @author Hannes Wallnoefer + * @author Hannes Wallnoefer, hannes@helma.at */ public class RhinoEngine implements ScopeProvider { @@ -509,7 +509,7 @@ public ReloadableScript getScript(String moduleName, Repository localPath) * and the first term resolves to a package directory, the remaining part * of the module id is resolved against the "lib" directory of the package. * - * @link http://nodejs.org/docs/v0.4.4/api/modules.html#folders_as_Modules + * @see NodeJS Modules * @param moduleName the name of the package to load * @param localPath the path of the resource issuing this call * @return the location of the package's main module diff --git a/src/org/ringojs/repository/AbstractRepository.java b/src/org/ringojs/repository/AbstractRepository.java index 2fc1be459..bc78fcf84 100644 --- a/src/org/ringojs/repository/AbstractRepository.java +++ b/src/org/ringojs/repository/AbstractRepository.java @@ -192,7 +192,7 @@ protected String[] resolve(String path, boolean absolute) { /** * Get a resource contained in this repository identified by the given local name. * If the name can't be resolved to a resource, a resource object is returned - * for which {@link Resource exists()} returns false. + * for which {@link Resource exists()} returns false. */ public synchronized Resource getResource(String subpath) throws IOException { String[] list = resolve(subpath, false); diff --git a/src/org/ringojs/wrappers/Storable.java b/src/org/ringojs/wrappers/Storable.java index a167b8473..bf1123869 100644 --- a/src/org/ringojs/wrappers/Storable.java +++ b/src/org/ringojs/wrappers/Storable.java @@ -117,7 +117,7 @@ public String getClassName() { * Boolean.TRUE if this object is equivalent to value, * Boolean.FALSE if this object is not equivalent to * value. - *

+ * * The default implementation returns Boolean.TRUE * if this == value or {@link org.mozilla.javascript.Scriptable#NOT_FOUND} otherwise. * It indicates that by default custom equality is available only if