package io.lumify.core.bootstrap.lib;

import io.lumify.core.config.Configuration;
import io.lumify.core.config.FileConfigurationLoader;
import io.lumify.core.util.LumifyLogger;
import io.lumify.core.util.LumifyLoggerFactory;

import java.io.File;
import java.util.List;

public class LibDirectoryLoader extends LibLoader {
    private static final LumifyLogger LOGGER = LumifyLoggerFactory.getLogger(LibDirectoryLoader.class);
    public static final String DEFAULT_UNIX_LIB_DIRECTORY = "/opt/lumify/lib";
    public static final String DEFAULT_WINDOWS_LIB_DIRECTORY = "c:/opt/lumify/lib";

    @Override
    public void loadLibs(Configuration configuration) {
        LOGGER.info("Loading libs using %s", LibDirectoryLoader.class.getName());
        List<File> libDirectories = FileConfigurationLoader.getLumifyDirectoriesFromMostPriority("lib");
        for (File libDirectory : libDirectories) {
            addLibDirectory(libDirectory);
        }
    }
}

@@ -424,171 +424,8 @@
 ss);
-%0A    public static final String DEFAULT_UNIX_LIB_DIRECTORY = %22/opt/lumify/lib%22;%0A    public static final String DEFAULT_WINDOWS_LIB_DIRECTORY = %22c:/opt/lumify/lib%22;
 %0A%0A  

remove unused variables