From 3db26bff365de7d2d4e7fc45ad31b8104c78a0ae Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Tue, 25 Mar 2008 05:38:00 +0000 Subject: Fixes for bugs as reported by FindBugs. --- src/main/java/com/amazon/carbonado/spi/AbstractRepositoryBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com/amazon/carbonado/spi') diff --git a/src/main/java/com/amazon/carbonado/spi/AbstractRepositoryBuilder.java b/src/main/java/com/amazon/carbonado/spi/AbstractRepositoryBuilder.java index b73a9ce..3cfc94f 100644 --- a/src/main/java/com/amazon/carbonado/spi/AbstractRepositoryBuilder.java +++ b/src/main/java/com/amazon/carbonado/spi/AbstractRepositoryBuilder.java @@ -62,7 +62,7 @@ public abstract class AbstractRepositoryBuilder implements RepositoryBuilder { public Iterable getTriggerFactories() { synchronized (mTriggerFactories) { - if (mTriggerFactories == null || mTriggerFactories.size() == 0) { + if (mTriggerFactories.size() == 0) { return Collections.emptyList(); } else { return new ArrayList(mTriggerFactories); -- cgit v1.2.3