Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Sep 22, 2023
1 parent bfce43e commit efa3d51
Showing 1 changed file with 11 additions and 18 deletions.
29 changes: 11 additions & 18 deletions src/main/java/edu/harvard/iq/dataverse/GuestbookResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,19 @@ public class GuestbookResponse implements Serializable {

@Temporal(value = TemporalType.TIMESTAMP)
private Date responseTime;

/**
* Possible values for downloadType include "Download", "Subset",
* or the displayName of an ExternalTool.
*
* TODO: Types like "Download" and "Subset" should
* be defined once as constants (likely an enum) rather than having these
* strings duplicated in various places when setDownloadtype() is called.
*/
private String eventType;

private String sessionId;
private String eventType;

/** Event Types - there are four pre-defined values in use.
* The type can also be the name of a previewer/explore tool
*/

static final String ACCESS_REQUEST = "AccessRequest";
static final String DOWNLOAD = "Download";
static final String SUBSET = "Subset";
static final String EXPLORE = "Explore";

/*
Transient Values carry non-written information
that will assist in the download process
Expand All @@ -128,14 +129,6 @@ public class GuestbookResponse implements Serializable {
@Transient
private ExternalTool externalTool;

/* Event Types - there are four pre-defined values in use.
* The type can also be the name of a previewer/explore tool
*/

static final String ACCESS_REQUEST = "AccessRequest";
static final String DOWNLOAD = "Download";
static final String SUBSET = "Subset";
static final String EXPLORE = "Explore";


public boolean isWriteResponse() {
Expand Down

0 comments on commit efa3d51

Please sign in to comment.