13
0
geforkt von Mirrors/Paper

Small javadoc cleanup

By: Nathan Adams <dinnerbone@dinnerbone.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2011-10-10 21:58:44 +01:00
Ursprung 96063a2b4d
Commit 429eb80d6e
46 geänderte Dateien mit 1 neuen und 140 gelöschten Zeilen

Datei anzeigen

@ -4,8 +4,6 @@ package org.bukkit;
* A delegate for handling block changes. This serves as a direct interface * A delegate for handling block changes. This serves as a direct interface
* between generation algorithms in the server implementation and utilizing * between generation algorithms in the server implementation and utilizing
* code. * code.
*
* @author sk89q
*/ */
public interface BlockChangeDelegate { public interface BlockChangeDelegate {

Datei anzeigen

@ -5,7 +5,6 @@ import java.util.Map;
/** /**
* Represents the two types of coal * Represents the two types of coal
* @author sunkid
*/ */
public enum CoalType { public enum CoalType {
COAL((byte) 0x0), COAL((byte) 0x0),

Datei anzeigen

@ -5,7 +5,6 @@ import java.util.Map;
/** /**
* Represents the different growth states of crops * Represents the different growth states of crops
* @author sunkid
*/ */
public enum CropState { public enum CropState {

Datei anzeigen

@ -5,7 +5,6 @@ import java.util.Map;
/** /**
* Represents the different species of trees regardless of size. * Represents the different species of trees regardless of size.
* @author sunkid
*/ */
public enum TreeSpecies { public enum TreeSpecies {

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit;
/** /**
* Tree type. * Tree type.
*
* @author sk89q
*/ */
public enum TreeType { public enum TreeType {
TREE, TREE,

Datei anzeigen

@ -2,7 +2,5 @@ package org.bukkit.block;
/** /**
* Represents a chest. * Represents a chest.
*
* @author sk89q
*/ */
public interface Chest extends BlockState, ContainerBlock {} public interface Chest extends BlockState, ContainerBlock {}

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.inventory.Inventory;
/** /**
* Indicates a block type that has inventory. * Indicates a block type that has inventory.
*
* @author sk89q
*/ */
public interface ContainerBlock { public interface ContainerBlock {

Datei anzeigen

@ -4,9 +4,6 @@ import org.bukkit.entity.CreatureType;
/** /**
* Represents a creature spawner. * Represents a creature spawner.
*
* @author sk89q
* @author Cogito
*/ */
public interface CreatureSpawner extends BlockState { public interface CreatureSpawner extends BlockState {

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit.block;
/** /**
* Represents a dispenser. * Represents a dispenser.
*
* @author sk89q
*/ */
public interface Dispenser extends BlockState, ContainerBlock { public interface Dispenser extends BlockState, ContainerBlock {

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit.block;
/** /**
* Represents a furnace. * Represents a furnace.
*
* @author sk89q
*/ */
public interface Furnace extends BlockState, ContainerBlock { public interface Furnace extends BlockState, ContainerBlock {

Datei anzeigen

@ -8,11 +8,8 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.Set; import java.util.Set;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import org.bukkit.Location;
import org.bukkit.OfflinePlayer; import org.bukkit.OfflinePlayer;
import org.bukkit.World;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import org.bukkit.material.MaterialData;
import org.bukkit.util.Vector; import org.bukkit.util.Vector;
/** /**

Datei anzeigen

@ -6,7 +6,6 @@ import java.io.BufferedReader;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.FileWriter; import java.io.FileWriter;
import java.io.IOException; import java.io.IOException;
import java.io.InputStream; import java.io.InputStream;

Datei anzeigen

@ -3,7 +3,5 @@ package org.bukkit.entity;
/** /**
* Represents an Animal. * Represents an Animal.
* *
* @author Cogito
*
*/ */
public interface Animals extends Creature {} public interface Animals extends Creature {}

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit.entity;
/** /**
* Represents a boat entity. * Represents a boat entity.
*
* @author sk89q
*/ */
public interface Boat extends Vehicle { public interface Boat extends Vehicle {

Datei anzeigen

@ -1,12 +1,6 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents a Chicken. * Represents a Chicken.
*
* @author Cogito
*
*/ */
public interface Chicken extends Animals {} public interface Chicken extends Animals {}

Datei anzeigen

@ -1,12 +1,6 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents a Cow. * Represents a Cow.
*
* @author Cogito
*
*/ */
public interface Cow extends Animals {} public interface Cow extends Animals {}

Datei anzeigen

@ -1,12 +1,6 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents Falling Sand. * Represents Falling Sand.
*
* @author Cogito
*
*/ */
public interface FallingSand extends Entity {} public interface FallingSand extends Entity {}

Datei anzeigen

@ -1,12 +1,6 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents a Flying Entity. * Represents a Flying Entity.
*
* @author Cogito
*
*/ */
public interface Flying extends LivingEntity {} public interface Flying extends LivingEntity {}

Datei anzeigen

@ -1,12 +1,6 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents a Ghast. * Represents a Ghast.
*
* @author Cogito
*
*/ */
public interface Ghast extends Flying {} public interface Ghast extends Flying {}

Datei anzeigen

@ -1,12 +1,6 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents a Giant. * Represents a Giant.
*
* @author Cogito
*
*/ */
public interface Giant extends Monster {} public interface Giant extends Monster {}

Datei anzeigen

@ -4,9 +4,6 @@ import org.bukkit.inventory.ItemStack;
/** /**
* Represents an Item. * Represents an Item.
*
* @author Cogito
*
*/ */
public interface Item extends Entity { public interface Item extends Entity {

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit.entity;
/** /**
* Represents an instance of a lightning strike. May or may not do damage. * Represents an instance of a lightning strike. May or may not do damage.
*
* @author sk89q
*/ */
public interface LightningStrike extends Weather { public interface LightningStrike extends Weather {

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.util.Vector;
/** /**
* Represents a minecart entity. * Represents a minecart entity.
*
* @author sk89q
*/ */
public interface Minecart extends Vehicle { public interface Minecart extends Vehicle {

Datei anzeigen

@ -1,12 +1,6 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents a Monster. * Represents a Monster.
*
* @author Cogito
*
*/ */
public interface Monster extends Creature {} public interface Monster extends Creature {}

Datei anzeigen

@ -2,7 +2,5 @@ package org.bukkit.entity;
/** /**
* Represents a powered minecart. * Represents a powered minecart.
*
* @author sk89q
*/ */
public interface PoweredMinecart extends Minecart {} public interface PoweredMinecart extends Minecart {}

Datei anzeigen

@ -1,15 +1,9 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
import org.bukkit.material.Colorable; import org.bukkit.material.Colorable;
/** /**
* Represents a Sheep. * Represents a Sheep.
*
* @author Cogito
*
*/ */
public interface Sheep extends Animals, Colorable { public interface Sheep extends Animals, Colorable {

Datei anzeigen

@ -1,12 +1,6 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents a Skeleton. * Represents a Skeleton.
*
* @author Cogito
*
*/ */
public interface Skeleton extends Monster {} public interface Skeleton extends Monster {}

Datei anzeigen

@ -1,13 +1,7 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents a Slime. * Represents a Slime.
*
* @author Cogito
*
*/ */
public interface Slime extends LivingEntity { public interface Slime extends LivingEntity {

Datei anzeigen

@ -1,12 +1,6 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents a Squid. * Represents a Squid.
*
* @author Cogito
*
*/ */
public interface Squid extends WaterMob {} public interface Squid extends WaterMob {}

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.inventory.Inventory;
/** /**
* Represents a storage minecart. * Represents a storage minecart.
*
* @author sk89q
*/ */
public interface StorageMinecart extends Minecart { public interface StorageMinecart extends Minecart {

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.util.Vector;
/** /**
* Represents a vehicle entity. * Represents a vehicle entity.
*
* @author sk89q
*/ */
public interface Vehicle extends Entity { public interface Vehicle extends Entity {

Datei anzeigen

@ -1,11 +1,6 @@
/**
*
*/
package org.bukkit.entity; package org.bukkit.entity;
/** /**
* Represents a Water Mob * Represents a Water Mob
* @author Cogito
*
*/ */
public interface WaterMob extends Creature {} public interface WaterMob extends Creature {}

Datei anzeigen

@ -2,8 +2,5 @@ package org.bukkit.entity;
/** /**
* Represents a Zombie. * Represents a Zombie.
*
* @author Cogito
*
*/ */
public interface Zombie extends Monster {} public interface Zombie extends Monster {}

Datei anzeigen

@ -6,8 +6,6 @@ import org.bukkit.event.Event;
/** /**
* Called when a server list ping is coming in. * Called when a server list ping is coming in.
*
* @author sk89q
*/ */
public class ServerListPingEvent extends ServerEvent { public class ServerListPingEvent extends ServerEvent {

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.entity.Vehicle;
/** /**
* Raised when a vehicle is created. * Raised when a vehicle is created.
*
* @author sk89q
*/ */
public class VehicleCreateEvent extends VehicleEvent { public class VehicleCreateEvent extends VehicleEvent {
public VehicleCreateEvent(Vehicle vehicle) { public VehicleCreateEvent(Vehicle vehicle) {

Datei anzeigen

@ -6,8 +6,6 @@ import org.bukkit.event.Cancellable;
/** /**
* Raised when a vehicle collides with an entity. * Raised when a vehicle collides with an entity.
*
* @author sk89q
*/ */
public class VehicleEntityCollisionEvent extends VehicleCollisionEvent implements Cancellable { public class VehicleEntityCollisionEvent extends VehicleCollisionEvent implements Cancellable {
private Entity entity; private Entity entity;

Datei anzeigen

@ -5,8 +5,6 @@ import org.bukkit.event.Event;
/** /**
* Represents a vehicle-related event. * Represents a vehicle-related event.
*
* @author sk89q
*/ */
public class VehicleEvent extends Event { public class VehicleEvent extends Event {
protected Vehicle vehicle; protected Vehicle vehicle;

Datei anzeigen

@ -4,8 +4,6 @@ import org.bukkit.event.Listener;
/** /**
* Listener for vehicle events. * Listener for vehicle events.
*
* @author sk89q
*/ */
public class VehicleListener implements Listener { public class VehicleListener implements Listener {
public VehicleListener() {} public VehicleListener() {}

Datei anzeigen

@ -5,8 +5,6 @@ import org.bukkit.entity.Vehicle;
/** /**
* Raised when a vehicle moves. * Raised when a vehicle moves.
*
* @author sk89q
*/ */
public class VehicleMoveEvent extends VehicleEvent { public class VehicleMoveEvent extends VehicleEvent {
private Location from; private Location from;

Datei anzeigen

@ -5,8 +5,6 @@ import org.bukkit.DyeColor;
/** /**
* An object that can be colored. * An object that can be colored.
* *
* @author Cogito
*
*/ */
public interface Colorable { public interface Colorable {

Datei anzeigen

@ -3,7 +3,6 @@ package org.bukkit.plugin;
/** /**
* A registered service provider. * A registered service provider.
* *
* @author sk89q
* @param <T> Service * @param <T> Service
*/ */
public class RegisteredServiceProvider<T> implements Comparable<RegisteredServiceProvider<?>> { public class RegisteredServiceProvider<T> implements Comparable<RegisteredServiceProvider<?>> {

Datei anzeigen

@ -10,8 +10,6 @@ import java.util.List;
* services manager in order to use a service (if one is available). If * services manager in order to use a service (if one is available). If
* multiple plugins register a service, then the service with the highest * multiple plugins register a service, then the service with the highest
* priority takes precedence. * priority takes precedence.
*
* @author sk89q
*/ */
public interface ServicesManager { public interface ServicesManager {

Datei anzeigen

@ -11,8 +11,6 @@ import java.util.NoSuchElementException;
/** /**
* A simple services manager. * A simple services manager.
*
* @author sk89q
*/ */
public class SimpleServicesManager implements ServicesManager { public class SimpleServicesManager implements ServicesManager {

Datei anzeigen

@ -8,12 +8,9 @@ import org.bukkit.entity.LivingEntity;
import java.util.Iterator; import java.util.Iterator;
import java.util.NoSuchElementException; import java.util.NoSuchElementException;
import java.lang.IllegalStateException;
/** /**
* This class performs ray tracing and iterates along blocks on a line * This class performs ray tracing and iterates along blocks on a line
*
* @author raphfrk
*/ */
public class BlockIterator implements Iterator<Block> { public class BlockIterator implements Iterator<Block> {

Datei anzeigen

@ -2,8 +2,6 @@ package org.bukkit.util.config;
/** /**
* Configuration exception. * Configuration exception.
*
* @author sk89q
*/ */
public class ConfigurationException extends Exception { public class ConfigurationException extends Exception {
private static final long serialVersionUID = -2442886939908724203L; private static final long serialVersionUID = -2442886939908724203L;

Datei anzeigen

@ -55,8 +55,6 @@ public class YamlConfigurationTest extends FileConfigurationTest {
String result = config.saveToString(); String result = config.saveToString();
String expected = "section:\n key: 1\n"; String expected = "section:\n key: 1\n";
System.out.println(result);
assertEquals(expected, result); assertEquals(expected, result);
} }
} }