/**
 * Copyright (c) 2016-2017, RTE (http://www.rte-france.com)
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package com.powsybl.contingency;

import java.io.InputStream;
import java.nio.file.Path;

/**
 * @author Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
 */
public interface ContingenciesProviderFactory {

    <T extends ContingenciesProvider> T create();

    default <T extends ContingenciesProvider> T create(Path contingenciesFile) {
        return create();
    }

    default <T extends ContingenciesProvider> T create(InputStream data) {
        return create();
    }

}

@@ -487,27 +487,16 @@
  %7B%0A%0A    
-%3CT extends 
 Continge
@@ -500,35 +500,32 @@
 ngenciesProvider
-%3E T
  create();%0A%0A    
@@ -528,35 +528,24 @@
     default 
-%3CT extends 
 Contingencie
@@ -545,35 +545,32 @@
 ngenciesProvider
-%3E T
  create(Path con
@@ -635,19 +635,8 @@
 ult 
-%3CT extends 
 Cont
@@ -656,11 +656,8 @@
 ider
-%3E T
  cre

Remove generics from ContingenciesProviderFactory interface. (#782)