code and comment cleanup.

This commit is contained in:
Tobias Ottenweller 2013-06-03 16:19:51 +02:00
parent b18df58870
commit 724e05e0a4
2 changed files with 2 additions and 5 deletions

View File

@ -260,7 +260,6 @@ public class GatesManager
else {
fileWriter.write(value.toString() + "\n");
}
}
fileWriter.close();

View File

@ -8,9 +8,6 @@ import org.bukkit.World;
import de.craftinc.gates.Plugin;
/**
* NOTE: We do not care about yaw and pitch for gate locations. So we won't serialize them.
*/
public class LocationUtil
{
protected final static String worldKey = "world";
@ -36,7 +33,8 @@ public class LocationUtil
/**
* Serializes a location. Helps storing locations inside yaml files.
* Serializes a location. Helps storing locations inside yaml files. NOTE: We do not care about yaw
* and pitch for gate locations. So we won't serialize them.
*
* @param l The location to serialize. Supplying 'null' is ok..
* @return A Map object ready for storing inside a yaml file. Will return 'null' if 'l' is null.