Debut Proxy server apache camel

This commit is contained in:
Nicolas Héron 2019-01-15 18:49:09 +01:00
commit ee34518b7d
56 changed files with 1047 additions and 2441 deletions

View file

@ -15,7 +15,7 @@
*/
package org.chtijbug.drools.logging;
import com.google.common.base.Predicate;
import com.google.common.collect.Collections2;
import com.google.common.collect.Lists;
@ -144,12 +144,7 @@ public class SessionExecution {
public java.util.Collection<Fact> getFactsByType(final FactType factType) {
if (this.getFacts().isEmpty())
return Lists.newArrayList();
return Collections2.filter(this.getFacts(), new Predicate<Fact>() {
@Override
public boolean apply(Fact fact) {
return fact.getFactType().equals(factType);
}
});
return Collections2.filter(this.getFacts(), fact -> fact.getFactType().equals(factType));
}
public Date getProcessingStartDate() {