Paste P6502

SonarEmptyLabelServiceOptimizer
ActivePublic

Authored by Gehel on Dec 22 2017, 1:34 PM.
package org.wikidata.query.rdf.blazegraph.label;
import java.util.stream.Stream;
public class SonarEmptyLabelServiceOptimizer {
protected void optimizeJoinGroup() {
getLabelServiceNodes().forEach(service -> {
JoinGroupNode g = service.getGraphPattern();
for (Object st : g.args()) {
if (st.equals("")) {
continue;
}
break;
}
});
}
private Stream<ServiceNode> getLabelServiceNodes() { return null; }
private static final class JoinGroupNode {
public Iterable<Object> args() { return null; }
}
private static final class ServiceNode {
public JoinGroupNode getGraphPattern() { return null; }
}
}
Gehel created this paste.Dec 22 2017, 1:34 PM