提交 767ed8d3 authored 作者: Thomas Mueller's avatar Thomas Mueller

Test / documentation.

上级 9dc3d8ec
......@@ -24,7 +24,7 @@ svn commit
svn copy: /svn/trunk /svn/tags/version-1.1.x; Version 1.1.x (yyyy-mm-dd)
Newsletter: prepare (always to BCC)
Newsletter: send to h2-database-jp@googlegroups.com; h2-database@googlegroups.com; h2database-news@googlegroups.com; ...
Add to freshmeat.net
Add to twitter.com
Add to http://freecode.com/
Add to http://twitter.com
Close bugs: http://code.google.com/p/h2database/issues/list
......@@ -141,7 +141,7 @@ public class TestJavaObject extends TestBase {
}
public String toString() {
return "" + value;
return "myObj:" + value;
}
public int compareTo(MyObj o) {
......@@ -149,7 +149,7 @@ public class TestJavaObject extends TestBase {
}
public boolean equals(Object o) {
return value == ((MyObj) o).value;
return toString().equals(o.toString());
}
public int hashCode() {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论