Many javadoc fixes thanks to Celtic Minstrel

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-09-25 02:56:40 +01:00
parent 1968b78a12
commit a8e72bdb91
78 changed files with 380 additions and 335 deletions

View File

@@ -127,7 +127,7 @@ public class Configuration extends ConfigurationNode {
/**
* Return the set header.
*
* @return
* @return The header comment.
*/
public String getHeader() {
return header;
@@ -136,7 +136,6 @@ public class Configuration extends ConfigurationNode {
/**
* Saves the configuration to disk. All errors are clobbered.
*
* @param header header to prepend
* @return true if it was successful
*/
public boolean save() {
@@ -184,7 +183,7 @@ public class Configuration extends ConfigurationNode {
/**
* This method returns an empty ConfigurationNode for using as a
* default in methods that select a node from a node list.
* @return
* @return The empty node.
*/
public static ConfigurationNode getEmptyNode() {
return new ConfigurationNode(new HashMap<String, Object>());

View File

@@ -107,8 +107,8 @@ public class ConfigurationNode {
* Set the property at a location. This will override existing
* configuration data to have it conform to key/value mappings.
*
* @param path
* @param value
* @param path The property path
* @param value The new value
*/
@SuppressWarnings("unchecked")
public void setProperty(String path, Object value) {
@@ -450,7 +450,7 @@ public class ConfigurationNode {
* path does not lead to a node, null will be returned. A node has
* key/value mappings.
*
* @param path
* @param path The property path
* @return node or null
*/
@SuppressWarnings("unchecked")
@@ -560,7 +560,7 @@ public class ConfigurationNode {
* Remove the property at a location. This will override existing
* configuration data to have it conform to key/value mappings.
*
* @param path
* @param path The property path
*/
@SuppressWarnings("unchecked")
public void removeProperty(String path) {