Skip to content

Commit

Permalink
implement Serializable, restore previous version
Browse files Browse the repository at this point in the history
  • Loading branch information
homebeaver committed Oct 10, 2024
1 parent 7a319c2 commit 0a89437
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
*/
package org.apache.commons.validator.routines.checkdigit;

import java.io.Serializable;

import org.apache.commons.validator.GenericTypeValidator;
import org.apache.commons.validator.GenericValidator;

Expand All @@ -32,7 +34,9 @@
*
* @since 1.10.0
*/
public class Modulus97CheckDigit extends AbstractCheckDigit {
public class Modulus97CheckDigit extends AbstractCheckDigit implements Serializable {

private static final long serialVersionUID = -5746038014913492394L;

/** Singleton Check Digit instance */
private static final Modulus97CheckDigit INSTANCE = new Modulus97CheckDigit();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
*/
public final class VATidBECheckDigit extends Modulus97CheckDigit {

private static final long serialVersionUID = 4622288405648808179L;

/** Singleton Check Digit instance */
private static final VATidBECheckDigit INSTANCE = new VATidBECheckDigit();

Expand Down

0 comments on commit 0a89437

Please sign in to comment.