You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2017/03/20 08:23:45 UTC

tapestry-5 git commit: TAP5-2575: fix topos in JavaDoc comments

Repository: tapestry-5
Updated Branches:
  refs/heads/master 9ffa2c661 -> 4305047ef


TAP5-2575: fix topos in JavaDoc comments


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/4305047e
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/4305047e
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/4305047e

Branch: refs/heads/master
Commit: 4305047ef912ffd969d70dc260356a103ac3746a
Parents: 9ffa2c6
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Mon Mar 20 09:23:31 2017 +0100
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Mon Mar 20 09:23:31 2017 +0100

----------------------------------------------------------------------
 .../org/apache/tapestry5/json/JSONArray.java    | 24 ++++++++++----------
 1 file changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/4305047e/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONArray.java
----------------------------------------------------------------------
diff --git a/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONArray.java b/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONArray.java
index 0c2e8ab..d407866 100644
--- a/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONArray.java
+++ b/tapestry-json/src/main/java/org/apache/tapestry5/json/JSONArray.java
@@ -58,7 +58,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      *
      * @param readFrom a tokener whose nextValue() method will yield a
      *                 {@code JSONArray}.
-     * @throws RuntimeExeption if the parse fails or doesn't yield a
+     * @throws RuntimeException if the parse fails or doesn't yield a
      *                       {@code JSONArray}.
      */
     JSONArray(JSONTokener readFrom) {
@@ -78,7 +78,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      * Creates a new {@code JSONArray} with values from the JSON string.
      *
      * @param json a JSON-encoded string containing an array.
-     * @throws RuntimeExeption if the parse fails or doesn't yield a {@code
+     * @throws RuntimeException if the parse fails or doesn't yield a {@code
      *                       JSONArray}.
      */
     public JSONArray(String json) {
@@ -89,7 +89,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      * Creates a new {@code JSONArray} with values from the given primitive array.
      *
      * @param array The values to use.
-     * @throws RuntimeExeption if any of the values are non-finite double values (i.e. NaN or infinite)
+     * @throws RuntimeException if any of the values are non-finite double values (i.e. NaN or infinite)
      */
     public JSONArray(Object... values) {
         this();
@@ -161,7 +161,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      *              not be {@link Double#isNaN() NaNs} or {@link Double#isInfinite()
      *              infinities}.
      * @return this array.
-     * @throws RuntimeExeption If the value cannot be represented as a finite double value.
+     * @throws RuntimeException If the value cannot be represented as a finite double value.
      */
     public JSONArray put(int index, Object value) {
         if (index < 0)
@@ -197,7 +197,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      *
      * @param index Which value to get.
      * @return the value at the specified location.
-     * @throws RuntimeExeption if this array has no value at {@code index}, or if
+     * @throws RuntimeException if this array has no value at {@code index}, or if
      *                       that value is the {@code null} reference. This method returns
      *                       normally if the value is {@code JSONObject#NULL}.
      */
@@ -233,7 +233,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      *
      * @param index Which value to get.
      * @return the value at the specified location.
-     * @throws RuntimeExeption if the value at {@code index} doesn't exist or
+     * @throws RuntimeException if the value at {@code index} doesn't exist or
      *                       cannot be coerced to a boolean.
      */
     public boolean getBoolean(int index) {
@@ -251,7 +251,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      *
      * @param index Which value to get.
      * @return the value at the specified location.
-     * @throws RuntimeExeption if the value at {@code index} doesn't exist or
+     * @throws RuntimeException if the value at {@code index} doesn't exist or
      *                       cannot be coerced to a double.
      */
     public double getDouble(int index) {
@@ -269,7 +269,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      *
      * @param index Which value to get.
      * @return the value at the specified location.
-     * @throws RuntimeExeption if the value at {@code index} doesn't exist or
+     * @throws RuntimeException if the value at {@code index} doesn't exist or
      *                       cannot be coerced to a int.
      */
     public int getInt(int index) {
@@ -287,7 +287,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      *
      * @param index Which value to get.
      * @return the value at the specified location.
-     * @throws RuntimeExeption if the value at {@code index} doesn't exist or
+     * @throws RuntimeException if the value at {@code index} doesn't exist or
      *                       cannot be coerced to a long.
      */
     public long getLong(int index) {
@@ -305,7 +305,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      *
      * @param index Which value to get.
      * @return the value at the specified location.
-     * @throws RuntimeExeption if no such value exists.
+     * @throws RuntimeException if no such value exists.
      */
     public String getString(int index) {
         Object object = get(index);
@@ -322,7 +322,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      *
      * @param index Which value to get.
      * @return the value at the specified location.
-     * @throws RuntimeExeption if the value doesn't exist or is not a {@code
+     * @throws RuntimeException if the value doesn't exist or is not a {@code
      *                       JSONArray}.
      */
     public JSONArray getJSONArray(int index) {
@@ -340,7 +340,7 @@ public final class JSONArray extends JSONCollection implements Iterable<Object>
      *
      * @param index Which value to get.
      * @return the value at the specified location.
-     * @throws RuntimeExeption if the value doesn't exist or is not a {@code
+     * @throws RuntimeException if the value doesn't exist or is not a {@code
      *                       JSONObject}.
      */
     public JSONObject getJSONObject(int index) {