Skip to content

Commit 60bfec2

Browse files
committed
Tidy code
1 parent 4f8f410 commit 60bfec2

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

Diff for: stroom-receive/stroom-receive-common/src/main/java/stroom/receive/common/HashedDataFeedKey.java

-24
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,6 @@ public class HashedDataFeedKey {
2929
@JsonPropertyDescription("The hash algorithm ID used to hash the datafeed key. A zero padded 3 digit number.")
3030
private final String hashAlgorithmId;
3131

32-
// @JsonProperty
33-
// @JsonPropertyDescription("The unique subject ID of the user associated with the datafeed key.")
34-
// private final String subjectId;
35-
//
36-
// @JsonProperty
37-
// @JsonPropertyDescription("A more human friendly display form of the user identity. May be null.")
38-
// private final String displayName;
39-
4032
@JsonProperty
4133
@JsonPropertyDescription("The unique ID for the account sending the data to stroom. " +
4234
"An account may comprise multiple systems and components of systems. " +
@@ -55,15 +47,11 @@ public class HashedDataFeedKey {
5547
@JsonCreator
5648
public HashedDataFeedKey(@JsonProperty("hash") final String hash,
5749
@JsonProperty("hashAlgorithmId") final String hashAlgorithmId,
58-
// @JsonProperty("subjectId") final String subjectId,
59-
// @JsonProperty("displayName") final String displayName,
6050
@JsonProperty("accountId") final String accountId,
6151
@JsonProperty("streamMetaData") final Map<String, String> streamMetaData,
6252
@JsonProperty("expiryDateEpochMs") final long expiryDateEpochMs) {
6353
this.hash = hash;
6454
this.hashAlgorithmId = hashAlgorithmId;
65-
// this.subjectId = subjectId;
66-
// this.displayName = displayName;
6755
this.accountId = accountId;
6856
this.streamMetaData = streamMetaData;
6957
this.expiryDateEpochMs = expiryDateEpochMs;
@@ -79,18 +67,6 @@ public String getHashAlgorithmId() {
7967
return hashAlgorithmId;
8068
}
8169

82-
// @NotBlank
83-
// public String getSubjectId() {
84-
// return subjectId;
85-
// }
86-
87-
// /**
88-
// * May be null.
89-
// */
90-
// public String getDisplayName() {
91-
// return displayName;
92-
// }
93-
9470
@NotBlank
9571
public String getAccountId() {
9672
return accountId;

0 commit comments

Comments
 (0)