Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.securegraph.elasticsearch;
 
 
 
 public class AuthorizationFilterBuilder extends BaseFilterBuilder {
     private final String[] authorizations;
    public AuthorizationFilterBuilder(String[] authorizations) {
        this. = authorizations;
    }
    @Override
    protected void doXContent(XContentBuilder builderParams paramsthrows IOException {
        builder.startArray("authorizations");
        for (String authorization : ) {
            builder.value(authorization);
        }
        builder.endArray();
    }
New to GrepCode? Check out our FAQ X