Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: drivenflywheel <[email protected]>
  • Loading branch information
2 people authored and Ryan Garvey rpgarve committed Jan 7, 2025
1 parent 11018ad commit cd8191c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/main/java/emissary/core/BaseDataObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -291,15 +291,10 @@ public BaseDataObject(final byte[] newData, final String name, @Nullable final S

public BaseDataObject(final byte[] newData, final String name, @Nullable final String form, @Nullable final String fileType,
IBaseDataObject tld) {
setData(newData);
setFilename(name);
if (form != null) {
pushCurrentForm(form);
}
this(newData, name, form, tld);
if (fileType != null) {
this.setFileType(fileType);
}
this.tld = tld;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/emissary/core/IBaseDataObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ default String getParameterAsConcatString(final String key, final String sep) {
void setTransactionId(String transactionId);

/**
* Return the Top level document or null if there is none for this IBaseDataObject
* Return the top level document or null if there is none for this IBaseDataObject
*
* @return The TLD IBaseDataObject
*/
Expand Down

0 comments on commit cd8191c

Please sign in to comment.