fixed broken dependency in pom

This commit is contained in:
benni 2012-10-23 14:31:35 +02:00
parent d316b4c5ae
commit dbbeabebc9
2 changed files with 13 additions and 2 deletions

12
pom.xml
View File

@ -23,6 +23,18 @@
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.5.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
<version>1.5.2</version>
</dependency>
</dependencies> </dependencies>
<build> <build>

View File

@ -1,6 +1,5 @@
package org.mbassy.common; package org.mbassy.common;
import com.google.common.base.Predicate;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -35,7 +34,7 @@ public class ReflectionUtils {
return methods; return methods;
} }
public static List<Field> getFields(Predicate<Field> condition, Class<?> target) { public static List<Field> getFields(IPredicate<Field> condition, Class<?> target) {
List<Field> methods = new LinkedList<Field>(); List<Field> methods = new LinkedList<Field>();
try { try {
for (Field method : target.getDeclaredFields()) { for (Field method : target.getDeclaredFields()) {