提交 785dd724 authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Add serialVersionUID to avoid warnings from some compilers

上级 7f0b8aa8
...@@ -11,8 +11,9 @@ import java.util.BitSet; ...@@ -11,8 +11,9 @@ import java.util.BitSet;
* Class VersionedBitSet extends standard BitSet to add a version field. * Class VersionedBitSet extends standard BitSet to add a version field.
* This will allow bit set and version to be changed atomically. * This will allow bit set and version to be changed atomically.
*/ */
final class VersionedBitSet extends BitSet final class VersionedBitSet extends BitSet {
{ private static final long serialVersionUID = 1L;
private long version; private long version;
public VersionedBitSet() {} public VersionedBitSet() {}
......
...@@ -10,6 +10,7 @@ package org.h2.security.auth; ...@@ -10,6 +10,7 @@ package org.h2.security.auth;
* *
*/ */
public class AuthConfigException extends RuntimeException { public class AuthConfigException extends RuntimeException {
private static final long serialVersionUID = 1L;
public AuthConfigException() { public AuthConfigException() {
super(); super();
......
...@@ -9,6 +9,7 @@ package org.h2.security.auth; ...@@ -9,6 +9,7 @@ package org.h2.security.auth;
* Exception thrown in case of errors during authentication * Exception thrown in case of errors during authentication
*/ */
public class AuthenticationException extends Exception { public class AuthenticationException extends Exception {
private static final long serialVersionUID = 1L;
public AuthenticationException() { public AuthenticationException() {
super(); super();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论