Debut Proxy server apache camel
This commit is contained in:
parent
a474dcf891
commit
ee34518b7d
56 changed files with 1047 additions and 2441 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue