Skip to content

Commit

Permalink
Added missing precondition to class ChunkMonitor.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrotz committed Apr 17, 2013
1 parent b1056b9 commit df285d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/terasology/monitoring/ChunkMonitor.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ public static void fireChunkDisposed(Chunk chunk) {
}

public static synchronized void getChunks(List<ChunkMonitorEntry> output) {
Preconditions.checkNotNull(output, "The parameter 'output' must not be null");
final Iterator<ChunkMonitorEntry> it = chunks.values().iterator();
while (it.hasNext()) {
final ChunkMonitorEntry e = it.next();
Expand Down

0 comments on commit df285d8

Please sign in to comment.