Skip to content

Commit 08f6f42

Browse files
committed
Remove serialVersionUIDs
I don't know a use case for serializing instances of these exception types. As for Vertex, it would be highly inefficient to serialize them object by object -- better is to export lists of vertices to some more appropriate format like .xyz.
1 parent 86a12f8 commit 08f6f42

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

scijava-ops-api/src/main/java/org/scijava/ops/api/OpMatchingException.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@
3636
*/
3737
public class OpMatchingException extends RuntimeException {
3838

39-
private static final long serialVersionUID = 2334342967056340218L;
40-
4139
public OpMatchingException(String message) {
4240
super(message);
4341
}

scijava-ops-image/src/main/java/org/scijava/ops/image/geom/geom3d/Vertex.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@
4545
*/
4646
public class Vertex extends Vector3D implements RealLocalizable {
4747

48-
/**
49-
*
50-
*/
51-
private static final long serialVersionUID = 1L;
52-
5348
private double distanceToFaceInFront = 0;
5449

5550
private List<TriangularFacet> facesInFront = new ArrayList<>();

scijava-types/src/main/java/org/scijava/types/infer/TypeInferenceException.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@
3434
*/
3535
public class TypeInferenceException extends RuntimeException {
3636

37-
/**
38-
*
39-
*/
40-
private static final long serialVersionUID = 7147530827546663700L;
41-
4237
public TypeInferenceException() {
4338
super();
4439
}

0 commit comments

Comments
 (0)