Remove superfluous javadocs

By: Erik Broes <erikbroes@grum.nl>
This commit is contained in:
Bukkit/Spigot
2011-07-17 17:02:03 +02:00
parent c11905550e
commit 3c852a3c8f
49 changed files with 7 additions and 659 deletions

View File

@@ -20,22 +20,10 @@ public class LightningStrikeEvent extends WeatherEvent implements Cancellable {
this.world = world;
}
/**
* Gets the cancellation state of this event. A canceled event will not
* be executed in the server, but will still pass to other plugins
*
* @return true if this event is canceled
*/
public boolean isCancelled() {
return canceled;
}
/**
* Sets the cancellation state of this event. A canceled event will not
* be executed in the server, but will still pass to other plugins
*
* @param cancel true if you wish to cancel this event
*/
public void setCancelled(boolean cancel) {
canceled = cancel;
}

View File

@@ -10,30 +10,16 @@ public class ThunderChangeEvent extends WeatherEvent implements Cancellable {
private boolean canceled;
private boolean to;
private World world;
public ThunderChangeEvent(World world, boolean to) {
super(Type.THUNDER_CHANGE, world);
this.world = world;
this.to = to;
}
/**
* Gets the cancellation state of this event. A canceled event will not
* be executed in the server, but will still pass to other plugins
*
* @return true if this event is canceled
*/
public boolean isCancelled() {
return canceled;
}
/**
* Sets the cancellation state of this event. A canceled event will not
* be executed in the server, but will still pass to other plugins
*
* @param cancel true if you wish to cancel this event
*/
public void setCancelled(boolean cancel) {
canceled = cancel;
}

View File

@@ -10,30 +10,16 @@ public class WeatherChangeEvent extends WeatherEvent implements Cancellable {
private boolean canceled;
private boolean to;
private World world;
public WeatherChangeEvent(World world, boolean to) {
super(Type.WEATHER_CHANGE, world);
this.world = world;
this.to = to;
}
/**
* Gets the cancellation state of this event. A canceled event will not
* be executed in the server, but will still pass to other plugins
*
* @return true if this event is canceled
*/
public boolean isCancelled() {
return canceled;
}
/**
* Sets the cancellation state of this event. A canceled event will not
* be executed in the server, but will still pass to other plugins
*
* @param cancel true if you wish to cancel this event
*/
public void setCancelled(boolean cancel) {
canceled = cancel;
}