Fixes history log in databases.

Fixes https://github.com/BentoBoxWorld/BentoBox/issues/1624
This commit is contained in:
tastybento 2020-12-27 11:48:32 -08:00
parent 385345f493
commit e5485dcbbc

View File

@ -7,6 +7,8 @@ import java.util.Map;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
import com.google.gson.annotations.Expose;
/**
* Represents an event that occurred and that is logged.
* <br/>
@ -16,8 +18,11 @@ import org.eclipse.jdt.annotation.Nullable;
* @author Poslovitch
*/
public class LogEntry {
@Expose
private final long timestamp;
@Expose
private final String type;
@Expose
private final Map<String, String> data;
private LogEntry(@NonNull Builder builder) {