package org.elasticsearch.plugin.fields;

import java.util.Collection;

import org.elasticsearch.common.inject.Module;
import org.elasticsearch.plugins.AbstractPlugin;

import com.google.common.collect.Lists;

public final class ComputedFieldsPlugin extends AbstractPlugin
{
    @Override
    public String name()
    {
        return "computed-fields-plugin";
    }

    @Override
    public String description()
    {
        return "Adds support for indexing computed fields";
    }
    
    @Override
    public Collection<Class<? extends Module>> indexModules() 
    {
        Collection<Class<? extends Module>> modules = Lists.newArrayList();
        modules.add(ComputedFieldsModule.class);
        return modules;
    }
}

@@ -35,16 +35,44 @@
 ields;%0A%0A
+import java.util.ArrayList;%0A
 import j
@@ -92,16 +92,16 @@
 ection;%0A
-
 %0Aimport 
@@ -194,49 +194,8 @@
 n;%0A%0A
-import com.google.common.collect.Lists;%0A%0A
 publ
@@ -346,16 +346,17 @@
 %22;%0A    %7D
+ 
 %0A%0A    @O
@@ -613,17 +613,12 @@
 s = 
-Lists.
 new
+ 
 Arra
@@ -622,16 +622,41 @@
 rrayList
+%3CClass%3C? extends Module%3E%3E
 ();%0A    

version changes