Merge pull request #203 from pymma/0.1.0.x

correction
This commit is contained in:
Nicolas Héron 2020-11-22 15:48:01 +01:00 committed by GitHub
commit 745db4439b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 32 deletions

View file

@ -0,0 +1,36 @@
package org.chtijbug.drools.runtime.impl;
import java.util.List;
public class DummyFact {
private String name;
private DummyFact property;
private List<DummyFact> listOfFacts;
DummyFact(String name) {
this.name = name;
}
DummyFact(String name,DummyFact property) {
this(name);
this.property = property;
}
DummyFact(String name, DummyFact property, List<DummyFact> listOfFacts) {
this(name, property);
this.listOfFacts = listOfFacts;
}
public String getName() {
return name;
}
public DummyFact getProperty() {
return property;
}
public List<DummyFact> getListOfFacts() {
return listOfFacts;
}
}

View file

@ -67,37 +67,5 @@ public class RuleBaseStatefulSessionTestCase {
} }
public class DummyFact {
private String name;
private DummyFact property;
private List<DummyFact> listOfFacts;
DummyFact(String name) {
this.name = name;
}
DummyFact(String name, DummyFact property) {
this(name);
this.property = property;
}
DummyFact(String name, DummyFact property, List<DummyFact> listOfFacts) {
this(name, property);
this.listOfFacts = listOfFacts;
}
public String getName() {
return name;
}
public DummyFact getProperty() {
return property;
}
public List<DummyFact> getListOfFacts() {
return listOfFacts;
}
}
} }