From: David ‘Bombe’ Roden Date: Mon, 14 Oct 2013 04:23:35 +0000 (+0200) Subject: Use static import. X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=338c3f45dcaf2b5cf42f19b550520217790cf747;p=Sone.git Use static import. --- diff --git a/src/main/java/net/pterodactylus/sone/database/memory/MemoryDatabase.java b/src/main/java/net/pterodactylus/sone/database/memory/MemoryDatabase.java index 451be3a..0c38c2c 100644 --- a/src/main/java/net/pterodactylus/sone/database/memory/MemoryDatabase.java +++ b/src/main/java/net/pterodactylus/sone/database/memory/MemoryDatabase.java @@ -363,7 +363,7 @@ public class MemoryDatabase extends AbstractService implements Database { lock.readLock().lock(); try { if (!postReplies.containsKey(postId)) { - return Collections.emptyList(); + return emptyList(); } return new ArrayList(postReplies.get(postId)); } finally {