Kaydet (Commit) 485bf373 authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS qadev22 (1.6.110); FILE MERGED

2005/03/10 14:52:38 cn 1.6.110.1: #i44722# casting Object to Integer while copmare Integer with Integer (Java5 fix)
üst 0b19477b
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: SbaXGridControl.java,v $ * $RCSfile: SbaXGridControl.java,v $
* *
* $Revision: 1.6 $ * $Revision: 1.7 $
* *
* last change:$Date: 2003-09-08 11:43:40 $ * last change:$Date: 2005-03-29 11:58:39 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -394,7 +394,7 @@ public class SbaXGridControl extends TestCase { ...@@ -394,7 +394,7 @@ public class SbaXGridControl extends TestCase {
tEnv.addObjRelation("Comparer", tEnv.addObjRelation("Comparer",
new Comparator() { new Comparator() {
public int compare(Object o1, Object o2) { public int compare(Object o1, Object o2) {
return ((Integer) o1).compareTo(o2); return ((Integer) o1).compareTo((Integer)o2);
} }
public boolean equals(Object obj) { public boolean equals(Object obj) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment