fixed broken dependency in pom
This commit is contained in:
parent
d316b4c5ae
commit
dbbeabebc9
12
pom.xml
12
pom.xml
@ -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>
|
||||||
|
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user