From 41daf2acb8954a168a3ef370ba9633a41b51ac11 Mon Sep 17 00:00:00 2001
From: Kai Reinhard <K.Reinhard@micromata.de>
Date: Fri, 14 Dec 2018 17:54:01 +0000
Subject: [PATCH] Renamed Borg json objects. Started with own objects, such as Repository.

---
 borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/BorgRepository.java |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/Repository.java b/borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/BorgRepository.java
similarity index 85%
rename from borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/Repository.java
rename to borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/BorgRepository.java
index 26da4c3..a12db4f 100644
--- a/borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/Repository.java
+++ b/borgbutler-core/src/main/java/de/micromata/borgbutler/json/borg/BorgRepository.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);

--
Gitblit v1.10.0