Update CreateDebugNeedWithFacetsAction.java
changed impl, so we do not use a different coding approach for the facet numbers
@@ -117,10 +117,10 @@ public class CreateDebugNeedWithFacetsAction extends AbstractCreateNeedAction
needModelWrapper.setTitle(NeedContentPropertyType.IS_AND_SEEKS, replyText);
needModelWrapper.setDescription(NeedContentPropertyType.IS_AND_SEEKS,
"This is a need automatically created by the DebugBot.");
- int i = 0;
+ int i = 1;
for (URI facet : facets) {
- i++;
needModelWrapper.addFacet(needURI + "#facet" + i, facet.toString());
+ i++;
}
final Dataset debugNeedDataset = needModelWrapper.copyDataset();
final Event origEvent = event;
