Skip to content
Permalink
Browse files

Improved print message from domain configs.

  • Loading branch information...
csrster committed Feb 15, 2016
1 parent 888caa9 commit 5c19ad17b6f9afcdd00b91d521ad8d92c6a11bad
@@ -75,7 +75,7 @@ public static String cfgToString(DomainConfiguration cfg) {
if (cfg == null) {
return "cfg{null}";
}
String result = "cfg{" + cfg.getDomainName() + "," + cfg.getName() + ",";
String result = "cfg{" + cfg.getDomainName() + "," + cfg.getName() + ","+cfg.getMaxBytes()+","+cfg.getMaxObjects()+",";
for (EAV.AttributeAndType aat: cfg.getAttributesAndTypes()){
AttributeBase ab = aat.attribute;
if (ab != null) {
@@ -115,7 +115,6 @@ public int generateJobs(HarvestDefinition harvest) {
jobsMade += processDomainConfigurationSubset(harvest, subset.iterator());
}
harvest.setNumEvents(harvest.getNumEvents() + 1);
if (1 == 1) return jobsMade;

if (!harvest.isSnapShot()) {
PartialHarvest focused = (PartialHarvest) harvest;

0 comments on commit 5c19ad1

Please sign in to comment.
You can’t perform that action at this time.