Skip to content

Commit

Permalink
Actually returning stream rules in result.
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisoelkers committed May 4, 2015
1 parent 56f95a0 commit 2c8d800
Showing 1 changed file with 1 addition and 10 deletions.
Expand Up @@ -16,9 +16,6 @@
*/
package org.graylog2.restclient.models.api.results;

import com.google.common.collect.Lists;
import javax.inject.Inject;
import org.graylog2.restclient.models.StreamRule;
import org.graylog2.restclient.models.api.responses.streams.StreamRuleSummaryResponse;

import java.util.List;
Expand All @@ -40,13 +37,7 @@ public int getTotal() {
return total;
}

public List<StreamRule> getStreamRules() {
List<StreamRule> streamRules = Lists.newArrayList();

/*for (StreamRuleSummaryResponse srsr : this.streamRules) {
streamRules.add(streamRuleFactory.fromSummaryResponse(srsr));
}*/

public List<StreamRuleSummaryResponse> getStreamRules() {
return streamRules;
}
}

0 comments on commit 2c8d800

Please sign in to comment.