diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/CompoundTag.java b/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/CompoundTag.java index 88f642d6f..842aba19b 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/CompoundTag.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/CompoundTag.java @@ -69,7 +69,7 @@ public final class CompoundTag extends Tag { } /** - * Get a byte array named with the given key.
If the key does not exist or its value is not a byte array + * Get a byte array named with the given key.
If the key does not exist or its value is not a byte array * tag, then an empty byte array will be returned.
* * @param key the key @@ -86,7 +86,7 @@ public final class CompoundTag extends Tag { } /** - * Get a byte named with the given key.If the key does not exist or its value is not a byte tag, then + * Get a byte named with the given key.
If the key does not exist or its value is not a byte tag, then * {@code 0} will be returned.
* * @param key the key @@ -103,7 +103,7 @@ public final class CompoundTag extends Tag { } /** - * Get a double named with the given key.If the key does not exist or its value is not a double tag, then + * Get a double named with the given key.
If the key does not exist or its value is not a double tag, then * {@code 0} will be returned.
* * @param key the key @@ -120,7 +120,7 @@ public final class CompoundTag extends Tag { } /** - * Get a double named with the given key, even if it's another type of number.If the key does not exist or + * Get a double named with the given key, even if it's another type of number.
If the key does not exist or * its value is not a number, then {@code 0} will be returned.
* * @param key the key @@ -147,7 +147,7 @@ public final class CompoundTag extends Tag { } /** - * Get a float named with the given key.If the key does not exist or its value is not a float tag, then + * Get a float named with the given key.
If the key does not exist or its value is not a float tag, then * {@code 0} will be returned.
* * @param key the key @@ -164,7 +164,7 @@ public final class CompoundTag extends Tag { } /** - * Get a {@code int[]} named with the given key.If the key does not exist or its value is not an int array + * Get a {@code int[]} named with the given key.
If the key does not exist or its value is not an int array * tag, then an empty array will be returned.
* * @param key the key @@ -181,7 +181,7 @@ public final class CompoundTag extends Tag { } /** - * Get an int named with the given key.If the key does not exist or its value is not an int tag, then + * Get an int named with the given key.
If the key does not exist or its value is not an int tag, then * {@code 0} will be returned.
* * @param key the key @@ -198,7 +198,7 @@ public final class CompoundTag extends Tag { } /** - * Get an int named with the given key, even if it's another type of number.If the key does not exist or + * Get an int named with the given key, even if it's another type of number.
If the key does not exist or * its value is not a number, then {@code 0} will be returned.
* * @param key the key @@ -225,7 +225,7 @@ public final class CompoundTag extends Tag { } /** - * Get a list of tags named with the given key.If the key does not exist or its value is not a list tag, + * Get a list of tags named with the given key.
If the key does not exist or its value is not a list tag, * then an empty list will be returned.
* * @param key the key @@ -242,7 +242,7 @@ public final class CompoundTag extends Tag { } /** - * Get a {@code TagList} named with the given key.If the key does not exist or its value is not a list + * Get a {@code TagList} named with the given key.
If the key does not exist or its value is not a list * tag, then an empty tag list will be returned.
* * @param key the key @@ -259,7 +259,7 @@ public final class CompoundTag extends Tag { } /** - * Get a list of tags named with the given key.If the key does not exist or its value is not a list tag, + * Get a list of tags named with the given key.
If the key does not exist or its value is not a list tag, * then an empty list will be returned. If the given key references a list but the list of of a different type, then * an empty list will also be returned.
* @@ -285,7 +285,7 @@ public final class CompoundTag extends Tag { } /** - * Get a long named with the given key.If the key does not exist or its value is not a long tag, then + * Get a long named with the given key.
If the key does not exist or its value is not a long tag, then * {@code 0} will be returned.
* * @param key the key @@ -302,7 +302,7 @@ public final class CompoundTag extends Tag { } /** - * Get a long named with the given key, even if it's another type of number.If the key does not exist or + * Get a long named with the given key, even if it's another type of number.
If the key does not exist or * its value is not a number, then {@code 0} will be returned.
* * @param key the key @@ -329,7 +329,7 @@ public final class CompoundTag extends Tag { } /** - * Get a short named with the given key.If the key does not exist or its value is not a short tag, then + * Get a short named with the given key.
If the key does not exist or its value is not a short tag, then * {@code 0} will be returned.
* * @param key the key @@ -346,7 +346,7 @@ public final class CompoundTag extends Tag { } /** - * Get a string named with the given key.If the key does not exist or its value is not a string tag, then + * Get a string named with the given key.
If the key does not exist or its value is not a string tag, then * {@code ""} will be returned.
* * @param key the key diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/ListTag.java b/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/ListTag.java index 2f517ef77..614a86af4 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/ListTag.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/ListTag.java @@ -84,7 +84,7 @@ public final class ListTag extends Tag { } /** - * Get a byte array named with the given index.If the index does not exist or its value is not a byte + * Get a byte array named with the given index.
If the index does not exist or its value is not a byte * array tag, then an empty byte array will be returned.
* * @param index the index @@ -101,7 +101,7 @@ public final class ListTag extends Tag { } /** - * Get a byte named with the given index.If the index does not exist or its value is not a byte tag, then + * Get a byte named with the given index.
If the index does not exist or its value is not a byte tag, then * {@code 0} will be returned.
* * @param index the index @@ -118,7 +118,7 @@ public final class ListTag extends Tag { } /** - * Get a double named with the given index.If the index does not exist or its value is not a double tag, + * Get a double named with the given index.
If the index does not exist or its value is not a double tag, * then {@code 0} will be returned.
* * @param index the index @@ -135,7 +135,7 @@ public final class ListTag extends Tag { } /** - * Get a double named with the given index, even if it's another type of number.If the index does not + * Get a double named with the given index, even if it's another type of number.
If the index does not * exist or its value is not a number, then {@code 0} will be returned.
* * @param index the index @@ -162,7 +162,7 @@ public final class ListTag extends Tag { } /** - * Get a float named with the given index.If the index does not exist or its value is not a float tag, + * Get a float named with the given index.
If the index does not exist or its value is not a float tag, * then {@code 0} will be returned.
* * @param index the index @@ -179,7 +179,7 @@ public final class ListTag extends Tag { } /** - * Get a {@code int[]} named with the given index.If the index does not exist or its value is not an int + * Get a {@code int[]} named with the given index.
If the index does not exist or its value is not an int * array tag, then an empty array will be returned.
* * @param index the index @@ -196,7 +196,7 @@ public final class ListTag extends Tag { } /** - * Get an int named with the given index.If the index does not exist or its value is not an int tag, then + * Get an int named with the given index.
If the index does not exist or its value is not an int tag, then * {@code 0} will be returned.
* * @param index the index @@ -213,7 +213,7 @@ public final class ListTag extends Tag { } /** - * Get an int named with the given index, even if it's another type of number.If the index does not exist + * Get an int named with the given index, even if it's another type of number.
If the index does not exist * or its value is not a number, then {@code 0} will be returned.
* * @param index the index @@ -240,7 +240,7 @@ public final class ListTag extends Tag { } /** - * Get a list of tags named with the given index.If the index does not exist or its value is not a list + * Get a list of tags named with the given index.
If the index does not exist or its value is not a list * tag, then an empty list will be returned.
* * @param index the index @@ -257,7 +257,7 @@ public final class ListTag extends Tag { } /** - * Get a {@code TagList} named with the given index.If the index does not exist or its value is not a list + * Get a {@code TagList} named with the given index.
If the index does not exist or its value is not a list * tag, then an empty tag list will be returned.
* * @param index the index @@ -274,7 +274,7 @@ public final class ListTag extends Tag { } /** - * Get a list of tags named with the given index.If the index does not exist or its value is not a list + * Get a list of tags named with the given index.
If the index does not exist or its value is not a list * tag, then an empty list will be returned. If the given index references a list but the list of of a different * type, then an empty list will also be returned.
* @@ -300,7 +300,7 @@ public final class ListTag extends Tag { } /** - * Get a long named with the given index.If the index does not exist or its value is not a long tag, then + * Get a long named with the given index.
If the index does not exist or its value is not a long tag, then * {@code 0} will be returned.
* * @param index the index @@ -317,7 +317,7 @@ public final class ListTag extends Tag { } /** - * Get a long named with the given index, even if it's another type of number.If the index does not exist + * Get a long named with the given index, even if it's another type of number.
If the index does not exist * or its value is not a number, then {@code 0} will be returned.
* * @param index the index @@ -344,7 +344,7 @@ public final class ListTag extends Tag { } /** - * Get a short named with the given index.If the index does not exist or its value is not a short tag, + * Get a short named with the given index.
If the index does not exist or its value is not a short tag, * then {@code 0} will be returned.
* * @param index the index @@ -361,7 +361,7 @@ public final class ListTag extends Tag { } /** - * Get a string named with the given index.If the index does not exist or its value is not a string tag, + * Get a string named with the given index.
If the index does not exist or its value is not a string tag, * then {@code ""} will be returned.
* * @param index the index diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/NBTInputStream.java b/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/NBTInputStream.java index be6702d6b..7bf7ae2c9 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/NBTInputStream.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/NBTInputStream.java @@ -11,7 +11,7 @@ import java.util.Map; /** * This class reads NBT, or Named Binary Tag streams, and produces an object graph of - * subclasses of the {@code Tag} object.The NBT format was created by Markus Persson, and the specification + * subclasses of the {@code Tag} object.
The NBT format was created by Markus Persson, and the specification * may be found at http://www.minecraft.net/docs/NBT.txt.
*/ public final class NBTInputStream implements Closeable { diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/NBTOutputStream.java b/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/NBTOutputStream.java index 884366100..9db7fb9e4 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/NBTOutputStream.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/jnbt/NBTOutputStream.java @@ -28,7 +28,7 @@ import java.util.List; /** * This class writes NBT, or Named Binary Tag Tag
objects to an
- * underlying OutputStream
.
The NBT format was created by Markus Persson, and the
+ * underlying OutputStream
.
The NBT format was created by Markus Persson, and the * specification may be found at http://www.minecraft.net/docs/NBT.txt. *
* diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/json/CDL.java b/PlotSquared/src/main/java/com/intellectualcrafters/json/CDL.java index fde894749..fb69ce28b 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/json/CDL.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/json/CDL.java @@ -4,13 +4,13 @@ package com.intellectualcrafters.json; * This provides static methods to convert comma delimited text into a JSONArray, and to covert a JSONArray into comma * delimited text. Comma delimited text is a very popular format for data interchange. It is understood by most * database, spreadsheet, and organizer programs. - * + * * Each row of text represents a row in a table or a data record. Each row ends with a NEWLINE character. Each row * contains one or more values. Values are separated by commas. A value can contain any character except for comma, * unless is is wrapped in single quotes or double quotes. - * + * * The first row usually contains the names of the columns. - * + * * A comma delimited list can be converted into a JSONArray of JSONObjects. The names for the elements in the * JSONObjects can be taken from the names in the first row. * diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/json/CookieList.java b/PlotSquared/src/main/java/com/intellectualcrafters/json/CookieList.java index c8ee0136d..85553dc13 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/json/CookieList.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/json/CookieList.java @@ -13,7 +13,7 @@ public class CookieList { * Convert a cookie list into a JSONObject. A cookie list is a sequence of name/value pairs. The names are separated * from the values by '='. The pairs are separated by ';'. The names and the values will be unescaped, possibly * converting '+' and '%' sequences. - * + * * To add a cookie to a cooklist, cookielistJSONObject.put(cookieJSONObject.getString("name"), * cookieJSONObject.getString("value")); * diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/json/HTTP.java b/PlotSquared/src/main/java/com/intellectualcrafters/json/HTTP.java index c78f24d61..ee8594944 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/json/HTTP.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/json/HTTP.java @@ -37,8 +37,8 @@ public class HTTP { /** * Convert an HTTP header string into a JSONObject. It can be a request header or a response header. A request * header will contain - * - * + * + * ** { * Method: "POST" (for example), @@ -46,10 +46,10 @@ public class HTTP { * "HTTP-Version": "HTTP/1.1" (for example) * } *- * + * * A response header will contain - * - * + * + * *
* { * "HTTP-Version": "HTTP/1.1" (for example), @@ -57,20 +57,20 @@ public class HTTP { * "Reason-Phrase": "OK" (for example) * } *- * + * * In addition, the other parameters in the header will be captured, using the HTTP field names as JSON names, so * that - * - * + * + * *
* Date: Sun, 26 May 2002 18:06:04 GMT * Cookie: Q=q2=PPEAsg--; B=677gi6ouf29bn&b=2&f=s * Cache-Control: no-cache *- * + * * become - * - * + * + * *
* {... * Date: "Sun, 26 May 2002 18:06:04 GMT", @@ -78,7 +78,7 @@ public class HTTP { * "Cache-Control": "no-cache", * ...} *- * + * * It does no further checking or conversion. It does not parse dates. It does not do '%' transforms on URLs. * * @param string An HTTP header string. @@ -116,8 +116,8 @@ public class HTTP { /** * Convert a JSONObject into an HTTP header. A request header must contain - * - * + * + * *
* { * Method: "POST" (for example), @@ -125,10 +125,10 @@ public class HTTP { * "HTTP-Version": "HTTP/1.1" (for example) * } *- * + * * A response header must contain - * - * + * + * *
* { * "HTTP-Version": "HTTP/1.1" (for example), @@ -136,7 +136,7 @@ public class HTTP { * "Reason-Phrase": "OK" (for example) * } *- * + * * Any other members of the JSONObject will be output as HTTP fields. The result will end with two CRLF pairs. * * @param jo A JSONObject diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONArray.java b/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONArray.java index 026613a2b..c31b44653 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONArray.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONArray.java @@ -34,16 +34,16 @@ import java.util.Map; * accessing the values by index, and
put
methods for adding or replacing values. The values can be any of
* these types: Boolean
, JSONArray
, JSONObject
, Number
,
* String
, or the JSONObject.NULL object
.
- *
+ *
* The constructor can convert a JSON text into a Java object. The toString
method converts to JSON text.
- *
+ *
* A get
method returns a value if one can be found, and throws an exception if one cannot be found. An
* opt
method returns a default value instead of throwing an exception, and so is useful for obtaining
* optional values.
- *
+ *
* The generic get()
and opt()
methods return an object which you can cast or query for type.
* There are also typed get
and opt
methods that do type checking and type coercion for you.
- *
+ *
* The texts produced by the toString
methods strictly conform to JSON syntax rules. The constructors are
* more forgiving in the texts they will accept: ,
(comma) may appear
* just before the closing bracket.null
value will be inserted when there is ,
@@ -789,7 +789,7 @@ public class JSONArray {
* Make a JSON text of this JSONArray. For compactness, no unnecessary whitespace is added. If it is not possible to
* produce a syntactically correct JSON text then null will be returned instead. This could occur if the array
* contains an invalid number.
- *
+ *
* Warning: This method assumes that the data structure is acyclical.
*
* @return a printable, displayable, transmittable representation of the array.
@@ -824,7 +824,7 @@ public class JSONArray {
/**
* Write the contents of the JSONArray as JSON text to a writer. For compactness, no whitespace is added.
- *
+ *
* Warning: This method assumes that the data structure is acyclical.
*
* @return The writer.
@@ -837,7 +837,7 @@ public class JSONArray {
/**
* Write the contents of the JSONArray as JSON text to a writer. For compactness, no whitespace is added.
- *
+ *
* Warning: This method assumes that the data structure is acyclical.
*
* @param indentFactor The number of spaces to add to each level of indentation.
diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONML.java b/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONML.java
index 73c5b0b35..ac419e1a2 100644
--- a/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONML.java
+++ b/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONML.java
@@ -222,7 +222,7 @@ public class JSONML {
* XML tag is represented as a JSONObject with a "tagName" property. If the tag has attributes, then the attributes
* will be in the JSONObject as properties. If the tag contains children, the object will have a "childNodes"
* property which will be an array of strings and JsonML JSONObjects.
- *
+ *
* Comments, prologs, DTDs, and <[ [ ]]>
are ignored.
*
* @param x An XMLTokener of the XML source text.
@@ -240,7 +240,7 @@ public class JSONML {
* XML tag is represented as a JSONObject with a "tagName" property. If the tag has attributes, then the attributes
* will be in the JSONObject as properties. If the tag contains children, the object will have a "childNodes"
* property which will be an array of strings and JsonML JSONObjects.
- *
+ *
* Comments, prologs, DTDs, and <[ [ ]]>
are ignored.
*
* @param string The XML source text.
diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONObject.java b/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONObject.java
index 7d830b2e5..408a2ec91 100644
--- a/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONObject.java
+++ b/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONObject.java
@@ -27,21 +27,21 @@ import java.util.Set;
* values into a JSON text using the put
and toString
methods. A get
method
* returns a value if one can be found, and throws an exception if one cannot be found. An opt
method
* returns a default value instead of throwing an exception, and so is useful for obtaining optional values.
- *
+ *
* The generic get()
and opt()
methods return an object, which you can cast or query for type.
* There are also typed get
and opt
methods that do type checking and type coercion for you.
* The opt methods differ from the get methods in that they do not throw. Instead, they return a specified value, such
* as null.
- *
+ *
* The put
methods add or replace values in an object. For example,
- *
- *
+ *
+ *
* * myString = new JSONObject().put("JSON", "Hello, World!").toString(); *- * + * * produces the string
{"JSON": "Hello, World"}
.
- *
+ *
* The texts produced by the toString
methods strictly conform to the JSON syntax rules. The constructors
* are more forgiving in the texts they will accept: ,
(comma) may
* appear just before the closing brace.'
(single
@@ -164,10 +164,10 @@ public class JSONObject {
* For each of the methods with no parameters and a name starting with "get"
or "is"
* followed by an uppercase letter, the method is invoked, and a key and the value returned from the getter method
* are put into the new JSONObject.
- *
+ *
* The key is formed by removing the "get"
or "is"
prefix. If the second remaining
* character is not upper case, then the first character is converted to lower case.
- *
+ *
* For example, if an object has a method named "getName"
, and if the result of calling
* object.getName()
is "Larry Fine"
, then the JSONObject will contain "name": "Larry
* Fine"
.
@@ -495,8 +495,8 @@ public class JSONObject {
* If the value is an array or Collection, then a JSONArray will be made from it and its toJSONString method will be
* called. If the value is a MAP, then a JSONObject will be made from it and its toJSONString method will be called.
* Otherwise, the value's toString method will be called, and the result will be quoted.
- *
- *
+ *
+ *
* Warning: This method assumes that the data structure is acyclical.
*
* @param value The value to be serialized.
@@ -620,7 +620,7 @@ public class JSONObject {
* Accumulate values under a key. It is similar to the put method except that if there is already an object stored
* under the key then a JSONArray is stored under the key to hold all of the accumulated values. If there is already
* a JSONArray, then the new value is appended to it. In contrast, the put method replaces the previous value.
- *
+ *
* If only one value is accumulated that is not a JSONArray, then the result will be the same as using put. But if
* multiple values are accumulated, then the result will be like append.
*
@@ -1347,7 +1347,7 @@ public class JSONObject {
/**
* Make a JSON text of this JSONObject. For compactness, no whitespace is added. If this would not result in a
* syntactically correct JSON text, then null will be returned instead.
- *
+ *
* Warning: This method assumes that the data structure is acyclical.
*
* @return a printable, displayable, portable, transmittable representation of the object, beginning with
@@ -1365,7 +1365,7 @@ public class JSONObject {
/**
* Make a prettyprinted JSON text of this JSONObject.
- *
+ *
* Warning: This method assumes that the data structure is acyclical.
*
* @param indentFactor The number of spaces to add to each level of indentation.
@@ -1385,7 +1385,7 @@ public class JSONObject {
/**
* Write the contents of the JSONObject as JSON text to a writer. For compactness, no whitespace is added.
- *
+ *
* Warning: This method assumes that the data structure is acyclical.
*
* @return The writer.
@@ -1398,7 +1398,7 @@ public class JSONObject {
/**
* Write the contents of the JSONObject as JSON text to a writer. For compactness, no whitespace is added.
- *
+ *
* Warning: This method assumes that the data structure is acyclical.
*
* @return The writer.
diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONStringer.java b/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONStringer.java
index 053001408..56d67ad6f 100644
--- a/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONStringer.java
+++ b/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONStringer.java
@@ -6,28 +6,28 @@ import java.io.StringWriter;
* JSONStringer provides a quick and convenient way of producing JSON text. The texts produced strictly conform to JSON
* syntax rules. No whitespace is added, so the results are ready for transmission or storage. Each instance of
* JSONStringer can produce one JSON text.
- *
+ *
* A JSONStringer instance provides a value
method for appending values to the text, and a key
* method for adding keys before values in objects. There are array
and endArray
methods that
* make and bound array values, and object
and endObject
methods which make and bound object
* values. All of these methods return the JSONWriter instance, permitting cascade style. For example,
- *
- *
+ *
+ *
* * myString = new JSONStringer().object().key("JSON").value("Hello, * World!").endObject().toString(); *- * + * * which produces the string - * - * + * + * *
* {"JSON":"Hello, World!"} *- * + * * The first method called must be
array
or object
. There are no methods for adding commas or
* colons. JSONStringer adds them for you. Objects and arrays can be nested up to 20 levels deep.
- *
+ *
* This can sometimes be easier than using a JSONObject to build a string.
*
* @author JSON.org
diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONWriter.java b/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONWriter.java
index 082d37e26..7530c40f2 100644
--- a/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONWriter.java
+++ b/PlotSquared/src/main/java/com/intellectualcrafters/json/JSONWriter.java
@@ -7,27 +7,27 @@ import java.io.Writer;
* JSONWriter provides a quick and convenient way of producing JSON text. The texts produced strictly conform to JSON
* syntax rules. No whitespace is added, so the results are ready for transmission or storage. Each instance of
* JSONWriter can produce one JSON text.
- *
+ *
* A JSONWriter instance provides a value
method for appending values to the text, and a key
* method for adding keys before values in objects. There are array
and endArray
methods that
* make and bound array values, and object
and endObject
methods which make and bound object
* values. All of these methods return the JSONWriter instance, permitting a cascade style. For example,
- *
- *
+ *
+ *
* * new JSONWriter(myWriter).object().key("JSON").value("Hello, World!").endObject(); *- * + * * which writes - * - * + * + * *
* {"JSON":"Hello, World!"} *- * + * * The first method called must be
array
or object
. There are no methods for adding commas or
* colons. JSONWriter adds them for you. Objects and arrays can be nested up to 20 levels deep.
- *
+ *
* This can sometimes be easier than using a JSONObject to build a string.
*
* @author JSON.org
diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/json/Kim.java b/PlotSquared/src/main/java/com/intellectualcrafters/json/Kim.java
index 3a60033b1..e8e90a7a8 100644
--- a/PlotSquared/src/main/java/com/intellectualcrafters/json/Kim.java
+++ b/PlotSquared/src/main/java/com/intellectualcrafters/json/Kim.java
@@ -5,22 +5,22 @@ package com.intellectualcrafters.json;
* byte. The last byte of a character never has the MSB reset. Every byte that is not the last byte has the MSB set. Kim
* stands for "Keep it minimal". A Unicode character is never longer than 3 bytes. Every byte contributes 7 bits to the
* character. ASCII is unmodified.
- *
+ *
* Kim UTF-8 one byte U+007F U+007F two bytes U+3FFF U+07FF three bytes U+10FFF U+FFFF four bytes U+10FFFF
- *
+ *
* Characters in the ranges U+0800..U+3FFF and U+10000..U+10FFFF will be one byte smaller when encoded in Kim compared
* to UTF-8.
- *
+ *
* Kim is beneficial when using scripts such as Old South Arabian, Aramaic, Avestan, Balinese, Batak, Bopomofo,
* Buginese, Buhid, Carian, Cherokee, Coptic, Cyrillic, Deseret, Egyptian Hieroglyphs, Ethiopic, Georgian, Glagolitic,
* Gothic, Hangul Jamo, Hanunoo, Hiragana, Kanbun, Kaithi, Kannada, Katakana, Kharoshthi, Khmer, Lao, Lepcha, Limbu,
* Lycian, Lydian, Malayalam, Mandaic, Meroitic, Miao, Mongolian, Myanmar, New Tai Lue, Ol Chiki, Old Turkic, Oriya,
* Osmanya, Pahlavi, Parthian, Phags-Pa, Phoenician, Samaritan, Sharada, Sinhala, Sora Sompeng, Tagalog, Tagbanwa,
* Takri, Tai Le, Tai Tham, Tamil, Telugu, Thai, Tibetan, Tifinagh, UCAS.
- *
+ *
* A kim object can be constructed from an ordinary UTF-16 string, or from a byte array. A kim object can produce a
* UTF-16 string.
- *
+ *
* As with UTF-8, it is possible to detect character boundaries within a byte sequence. UTF-8 is one of the world's
* great inventions. While Kim is more efficient, it is not clear that it is worth the expense of transition.
*
diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/json/XML.java b/PlotSquared/src/main/java/com/intellectualcrafters/json/XML.java
index 6e0d36127..1bad5a232 100644
--- a/PlotSquared/src/main/java/com/intellectualcrafters/json/XML.java
+++ b/PlotSquared/src/main/java/com/intellectualcrafters/json/XML.java
@@ -48,8 +48,8 @@ public class XML {
/**
* Replace special characters with XML escapes:
- *
- *
+ *
+ *
* * & (ampersand) is replaced by & * < (less than) is replaced by < diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/SubCommand.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/SubCommand.java index fecaa5cc0..245aadc82 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/SubCommand.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/commands/SubCommand.java @@ -160,31 +160,31 @@ public abstract class SubCommand { public enum CommandCategory { /** * Claiming Commands - * + * * Such as: /plot claim */ CLAIMING("Claiming"), /** * Teleportation Commands - * + * * Such as: /plot visit */ TELEPORT("Teleportation"), /** * Action Commands - * + * * Such as: /plot clear */ ACTIONS("Actions"), /** * Information Commands - * + * * Such as: /plot info */ INFO("Information"), /** * Debug Commands - * + * * Such as: /plot debug */ DEBUG("Debug"); diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/ClassicPlotWorld.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/ClassicPlotWorld.java index d3130bf94..ba6e01065 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/ClassicPlotWorld.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/generator/ClassicPlotWorld.java @@ -31,7 +31,7 @@ public abstract class ClassicPlotWorld extends SquarePlotWorld { /** * CONFIG NODE | DEFAULT VALUE | DESCRIPTION | CONFIGURATION TYPE | REQUIRED FOR INITIAL SETUP - * + * * Set the last boolean to false if you do not require a specific config node to be set while using the setup * command - this may be useful if a config value can be changed at a later date, and has no impact on the actual * world generation diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/BlockWrapper.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/BlockWrapper.java index 216d2b351..7f30e4c30 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/BlockWrapper.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/object/BlockWrapper.java @@ -25,7 +25,7 @@ import org.bukkit.block.Block; /** * Wrapper class for blocks, using pure data rather than the object. - * + * * Useful for NMS * * @author Empire92 diff --git a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/StringComparison.java b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/StringComparison.java index 261128cb8..19c68820f 100644 --- a/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/StringComparison.java +++ b/PlotSquared/src/main/java/com/intellectualcrafters/plot/util/StringComparison.java @@ -36,7 +36,7 @@ public class StringComparison { private String bestMatch; /** * Match Value - * + * * Can be checked for low match (< .25 or something) */ private double match = 0;