Skip to content

Commit

Permalink
Move MinDiskFree out of Folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Catfriend1 committed Jan 26, 2019
1 parent 5827426 commit b71350b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class Folder {
public int rescanIntervalS = 3600;
public boolean ignorePerms = true;
public boolean autoNormalize = true;
public MinDiskFree minDiskFree;
public static MinDiskFree minDiskFree;
public Versioning versioning;
public int copiers = 0;
public int pullerMaxPendingKiB;
Expand All @@ -50,11 +50,6 @@ public static class Versioning implements Serializable {
public Map<String, String> params = new HashMap<>();
}

public static class MinDiskFree {
public float value;
public String unit;
}

public void addDevice(final Device device) {
Device d = new Device();
d.deviceID = device.deviceID;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.nutomic.syncthingandroid.model;

public class MinDiskFree {
public float value;
public String unit;
}

0 comments on commit b71350b

Please sign in to comment.