summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/spi
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-03-25 05:38:00 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-03-25 05:38:00 +0000
commit3db26bff365de7d2d4e7fc45ad31b8104c78a0ae (patch)
treea32ea36c3e356311559d984a4d61524193869f55 /src/main/java/com/amazon/carbonado/spi
parent5ad29e976d528214c6e26065f2fb39126a5ae10a (diff)
Fixes for bugs as reported by FindBugs.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/spi')
-rw-r--r--src/main/java/com/amazon/carbonado/spi/AbstractRepositoryBuilder.java2
1 files changed, 1 insertions, 1 deletions
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<TriggerFactory> getTriggerFactories() {
synchronized (mTriggerFactories) {
- if (mTriggerFactories == null || mTriggerFactories.size() == 0) {
+ if (mTriggerFactories.size() == 0) {
return Collections.emptyList();
} else {
return new ArrayList<TriggerFactory>(mTriggerFactories);