Skip to content

Commit df90450

Browse files
authored
Merge pull request #543 from IABTechLab/gdm-UID2-5837-v4-uid
2 parents 83a4de6 + 58f6339 commit df90450

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/java/com/uid2/shared/audit/AuditParams.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import java.util.List;
55

66
public record AuditParams(List<String> queryParams, List<String> bodyParams) {
7-
87
public AuditParams(List<String> queryParams, List<String> bodyParams) {
98
this.queryParams = queryParams != null
109
? Collections.unmodifiableList(queryParams)

src/main/java/com/uid2/shared/store/salt/SaltFileParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ private SaltEntry parseLine(String line, int lineNumber) {
4040
SaltEntry.KeyMaterial currentKeySalt = null;
4141
SaltEntry.KeyMaterial previousKeySalt = null;
4242
if (trimToNull(fields[5]) != null && trimToNull(fields[6]) != null) {
43-
currentKeySalt = new SaltEntry.KeyMaterial(Integer.parseInt(fields[5]), fields[6], fields[7]);
43+
currentKeySalt = new SaltEntry.KeyMaterial(Integer.parseInt(fields[5]), trimToNull(fields[6]), trimToNull(fields[7]));
4444
}
4545

4646
if (trimToNull(fields[8]) != null && trimToNull(fields[9]) != null) {
47-
previousKeySalt = new SaltEntry.KeyMaterial(Integer.parseInt(fields[8]), fields[9], fields[10]);
47+
previousKeySalt = new SaltEntry.KeyMaterial(Integer.parseInt(fields[8]), trimToNull(fields[9]), trimToNull(fields[10]));
4848
}
4949

5050
return new SaltEntry(id, hashedId, lastUpdated, salt, refreshFrom, previousSalt, currentKeySalt, previousKeySalt);

0 commit comments

Comments
 (0)