From 7a429e99321a27bb5dbb77d119f7fce0de0eea97 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sun, 4 Dec 2011 20:01:08 +0100 Subject: [PATCH] Made Node.getPosition final and fixed some whitespace in LocalWorld. --- src/main/java/com/sk89q/worldedit/LocalWorld.java | 2 +- src/main/java/com/sk89q/worldedit/expression/runtime/Node.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/LocalWorld.java b/src/main/java/com/sk89q/worldedit/LocalWorld.java index 5d4921eae..6624e5111 100644 --- a/src/main/java/com/sk89q/worldedit/LocalWorld.java +++ b/src/main/java/com/sk89q/worldedit/LocalWorld.java @@ -356,7 +356,7 @@ public abstract class LocalWorld { return false; } - private class QueuedEffect implements Comparable{ + private class QueuedEffect implements Comparable { private final Vector position; private final int blockId; private final double priority; diff --git a/src/main/java/com/sk89q/worldedit/expression/runtime/Node.java b/src/main/java/com/sk89q/worldedit/expression/runtime/Node.java index 4d38a12b6..a4d5ce16c 100644 --- a/src/main/java/com/sk89q/worldedit/expression/runtime/Node.java +++ b/src/main/java/com/sk89q/worldedit/expression/runtime/Node.java @@ -39,7 +39,7 @@ public abstract class Node implements RValue { } @Override - public int getPosition() { + public final int getPosition() { return position; } }