mirror of
				https://github.com/IntellectualSites/PlotSquared.git
				synced 2025-11-04 03:03:43 +01:00 
			
		
		
		
	Spelling Corrections
This commit is contained in:
		@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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=========================================");
 | 
			
		||||
 
 | 
			
		||||
@@ -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());
 | 
			
		||||
            
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
     */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user