summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-06-13 11:46:49 +0000
committerRüdiger Timm <rt@openoffice.org>2008-06-13 11:46:49 +0000
commit13e6598422c9817473db3821b2d83e2571e9c68a (patch)
treecd6bcce5836059bb8663a53bedcb5e44b3b14235 /qadevOOo
parent5a9f300312e753380b30c2ab60561b5609068688 (diff)
INTEGRATION: CWS qadev32 (1.5.56); FILE MERGED
2008/04/17 11:40:40 cn 1.5.56.2: RESYNC: (1.5-1.6); FILE MERGED 2008/03/19 08:48:52 cn 1.5.56.1: #i85368# use Sting.equals(String2) instead of String1 == String2
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/runner/stats/Summarizer.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/qadevOOo/runner/stats/Summarizer.java b/qadevOOo/runner/stats/Summarizer.java
index 863f450091c2..6b9aebdec06c 100644
--- a/qadevOOo/runner/stats/Summarizer.java
+++ b/qadevOOo/runner/stats/Summarizer.java
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: Summarizer.java,v $
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
* This file is part of OpenOffice.org.
*
@@ -43,6 +43,7 @@ public class Summarizer {
/**
*
* gets the state for a SuperEntry according to its subentries
+ * @param entry
*/
public void summarizeUp(DescEntry entry) {
if ( ( entry.State != null ) && !entry.State.equals("UNKNOWN")) return;
@@ -54,7 +55,7 @@ public class Summarizer {
if (entry.SubEntries[i].State == null) {
entry.SubEntries[i].State = "PASSED.FAILED";
}
- if (entry.SubEntries[i].State == "known issue") {
+ if (entry.SubEntries[i].State.equals("known issue")) {
entry.SubEntries[i].State = "PASSED.OK";
knownIssues++;
}
@@ -83,7 +84,7 @@ public class Summarizer {
}
public static void summarizeDown(DescEntry entry, String state) {
- if ( ( entry.State == null ) || entry.State == "UNKNOWN")
+ if ( ( entry.State == null ) || entry.State.equals("UNKNOWN"))
entry.State = state;
for (int i=0; i<entry.SubEntryCount; i++) {
summarizeDown(entry.SubEntries[i], entry.State);