Skip to content

Commit 3b501ad

Browse files
authored
chore: Add a serialVersionUID to serializable classes that don't have it (#7596)
1 parent 9c66722 commit 3b501ad

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

core/src/main/java/org/owasp/dependencycheck/data/update/exception/CorruptedDatastreamException.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
@ThreadSafe
2828
public class CorruptedDatastreamException extends Exception {
2929

30+
private static final long serialVersionUID = 1L;
31+
3032
/**
3133
* Create a new CorruptedDatastreamException.
3234
*/

utils/src/main/java/org/owasp/dependencycheck/utils/ForbiddenException.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222

2323
public class ForbiddenException extends IOException {
2424

25+
private static final long serialVersionUID = 1L;
26+
2527
public ForbiddenException(String message) {
2628
super(message);
2729
}

0 commit comments

Comments
 (0)