提交 63cab718 authored 作者: Thomas Mueller's avatar Thomas Mueller

Use a simple serialVersionUID

上级 12c3cf9a
......@@ -13,7 +13,7 @@ package org.h2.message;
*/
public class InternalException extends RuntimeException {
private static final long serialVersionUID = -5369631382082604330L;
private static final long serialVersionUID = 1L;
private Exception cause;
public InternalException(Exception e) {
......
......@@ -26,7 +26,7 @@ import org.h2.util.StringUtils;
*/
public class WebServlet extends HttpServlet {
private static final long serialVersionUID = 9171446624885086692L;
private static final long serialVersionUID = 1L;
private transient WebServer server;
public void init() {
......
......@@ -50,7 +50,8 @@ public class FileObjectMemory implements FileObject {
*/
//## Java 1.4 begin ##
static class Cache<K, V> extends LinkedHashMap<K, V> {
private static final long serialVersionUID = 5549197956072850355L;
private static final long serialVersionUID = 1L;
private int size;
Cache(int size) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论