mirror of https://github.com/micromata/borgbackup-butler.git

Kai Reinhard
14.54.2018 41daf2acb8954a168a3ef370ba9633a41b51ac11
borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/BorgRepository.java
File was renamed from borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/Repository.java
@@ -6,13 +6,10 @@
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
/**
 * Part of Borg json objects to refer objects to repositories.
 */
public class Repository implements Serializable {
    private static final long serialVersionUID = 1278802519434516280L;
public class BorgRepository {
    /**
     * A name describing this config. Only used for displaying purposes. This is automatically set with the name
     * of the repository configuration.
@@ -36,7 +33,7 @@
     * @param location
     * @return
     */
    public Repository setLocation(String location) {
    public BorgRepository setLocation(String location) {
        this.location = location;
        // It's ugly but efficiently ;-)
        BorgRepoConfig repoConfig = ConfigurationHandler.getConfiguration().getRepoConfig(location);