Spelling Corrections

This commit is contained in:
Matt
2016-02-04 18:45:50 -05:00
parent 692ad5db81
commit 8d6b412dc8
19 changed files with 40 additions and 38 deletions

View File

@ -155,9 +155,9 @@ public interface ConfigurationSection {
* replaced, regardless of what the new value is.
* <p>
* Some implementations may have limitations on what you may store. See
* their individual javadocs for details. No implementations should allow
* their individual javadoc for details. No implementations should allow
* you to store {@link Configuration}s or {@link ConfigurationSection}s,
* please use {@link #createSection(java.lang.String)} for that.
* please use {@link #createSection(String)} for that.
*
* @param path Path of the object to set.
* @param value New value to set the path to.

View File

@ -193,7 +193,7 @@ public class YamlConfiguration extends FileConfiguration {
}
Files.copy(file.toPath(), dest.toPath(), StandardCopyOption.REPLACE_EXISTING);
PS.debug("&dCould not read: &7" + file);
PS.debug("&drenamed to: &7" + dest.getName());
PS.debug("&dRenamed to: &7" + dest.getName());
PS.debug("&c============ Full stacktrace ============");
ex.printStackTrace();
PS.debug("&c=========================================");

View File

@ -28,7 +28,7 @@ public class YamlRepresenter extends Representer {
@Override
public Node representData(final Object data) {
final ConfigurationSerializable serializable = (ConfigurationSerializable) data;
final Map<String, Object> values = new LinkedHashMap<String, Object>();
final Map<String, Object> values = new LinkedHashMap<>();
values.put(ConfigurationSerialization.SERIALIZED_TYPE_KEY, ConfigurationSerialization.getAlias(serializable.getClass()));
values.putAll(serializable.serialize());

View File

@ -27,7 +27,7 @@ public interface ConfigurationSerializable {
* Creates a Map representation of this class.
* <p>
* This class must provide a method to restore this class, as defined in
* the {@link ConfigurationSerializable} interface javadocs.
* the {@link ConfigurationSerializable} interface javadoc.
*
* @return Map containing the current state of this class
*/