// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.application;

import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;

import java.nio.file.Path;

@ApiStatus.Internal
public interface RestoreDefaultConfigCustomizer {

  void removeCurrentConfigDir(@NotNull Path currentConfig);

}

// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.application;

import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;

import java.nio.file.Path;

@ApiStatus.Internal
public interface RestoreDefaultConfigCustomizer {

  void removeCurrentConfigDir(@NotNull Path currentConfig) throws Exception;

}

Convert RestoreDefaultConfigCustomizerImpl from Kotlin to Java to make the obfuscator happier