Selaa lähdekoodia

Use ctime instead of creationTime in backup objects

pull/20/head
Kristijan Mitrovic 4 vuotta sitten
vanhempi
commit
1b34a5d042
2 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. +2
    -2
      bubble-server/src/main/java/bubble/model/cloud/BubbleBackup.java
  2. +1
    -1
      bubble-web

+ 2
- 2
bubble-server/src/main/java/bubble/model/cloud/BubbleBackup.java Näytä tiedosto

@@ -7,6 +7,7 @@ package bubble.model.cloud;
import bubble.model.account.Account;
import bubble.model.account.HasAccount;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
@@ -76,6 +77,5 @@ public class BubbleBackup extends IdentifiableBase implements HasAccount {

public boolean canDelete() { return status.isDeletable() || getCtimeAge() > BR_STATE_LOCK_TIMEOUT; }

public long getCreationTime() { return getCtime(); }
public void setCreationTime(long c) { /* noop */ }
@JsonProperty public long getCtime () { return super.getCtime(); }
}

+ 1
- 1
bubble-web

@@ -1 +1 @@
Subproject commit b13609218b5320ac4022856b8d620371a3987298
Subproject commit 9a8be0347a02fa92bfd8b0855afbd7e592dbcf45

Ladataan…
Peruuta
Tallenna