package com.hp.autonomy.frontend.find.configuration;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.hp.autonomy.frontend.configuration.AbstractAuthenticatingConfigFileService;
import com.hp.autonomy.frontend.configuration.Authentication;

public class FindConfigFileService extends AbstractAuthenticatingConfigFileService<FindConfig> {

    @Override
    protected void addPreReadMixins(final ObjectMapper mapper) {
        mapper.addMixInAnnotations(Authentication.class, AuthenticationMixins.class);
    }

    @Override
    public FindConfig preUpdate(final FindConfig config) {
        return config;
    }

    @Override
    public void postUpdate(final FindConfig config) throws Exception {

    }

    @Override
    public void postInitialise(final FindConfig config) throws Exception {
        postUpdate(config);
    }

    @Override
    public Class<FindConfig> getConfigClass() {
        return FindConfig.class;
    }

    @Override
    public FindConfig getEmptyConfig() {
        return new FindConfig.Builder().build();
    }

}

@@ -51,60 +51,8 @@
 n;%0A%0A
-import com.fasterxml.jackson.databind.ObjectMapper;%0A
 impo
@@ -137,70 +137,8 @@
 ice;
-%0Aimport com.hp.autonomy.frontend.configuration.Authentication;
 %0A%0Apu
@@ -237,180 +237,8 @@
  %7B%0A%0A
-    @Override%0A    protected void addPreReadMixins(final ObjectMapper mapper) %7B%0A        mapper.addMixInAnnotations(Authentication.class, AuthenticationMixins.class);%0A    %7D%0A%0A
     

Remove method which went away.