bean configuration loader fix
diff --git a/src/main/java/de/ids_mannheim/korap/config/BeanConfiguration.java b/src/main/java/de/ids_mannheim/korap/config/BeanConfiguration.java
index 7f53159..11b8b60 100644
--- a/src/main/java/de/ids_mannheim/korap/config/BeanConfiguration.java
+++ b/src/main/java/de/ids_mannheim/korap/config/BeanConfiguration.java
@@ -17,7 +17,7 @@
     private static ApplicationContext context = null;
 
     public static void loadClasspathContext(String... files) {
-        if (context == null && files == null)
+        if (context == null && files.length == 0)
             context = new ClassPathXmlApplicationContext(config_file);
         else if (context == null)
             context = new ClassPathXmlApplicationContext(files);