summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2008-11-21 09:58:50 (EST)
committerCarsten Drossel2008-11-21 09:58:50 (EST)
commit87d5f9d38ad90601f022693a1688ff946fc6be41 (patch)
tree0133ffa86b0b67e97651ad93a5483db3a222591f
parent79bc696a338fdb766e5edc33b80da5fd664b6ea4 (diff)
downloadorg.eclipse.riena-87d5f9d38ad90601f022693a1688ff946fc6be41.zip
org.eclipse.riena-87d5f9d38ad90601f022693a1688ff946fc6be41.tar.gz
org.eclipse.riena-87d5f9d38ad90601f022693a1688ff946fc6be41.tar.bz2
fixed NPE in unit test
-rw-r--r--org.eclipse.riena.ui.swt/src/org/eclipse/riena/ui/swt/StatuslineUIProcess.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.riena.ui.swt/src/org/eclipse/riena/ui/swt/StatuslineUIProcess.java b/org.eclipse.riena.ui.swt/src/org/eclipse/riena/ui/swt/StatuslineUIProcess.java
index b025603..b700498 100644
--- a/org.eclipse.riena.ui.swt/src/org/eclipse/riena/ui/swt/StatuslineUIProcess.java
+++ b/org.eclipse.riena.ui.swt/src/org/eclipse/riena/ui/swt/StatuslineUIProcess.java
@@ -122,7 +122,7 @@ public class StatuslineUIProcess extends AbstractStatuslineComposite {
private Control locateGrabCorner() {
Shell shell = getShell();
for (Control child : shell.getChildren()) {
- if (child.getData("sizeexecutor").equals("grabcorner")) { //$NON-NLS-1$ //$NON-NLS-2$
+ if ("grabcorner".equals(child.getData("sizeexecutor"))) { //$NON-NLS-1$ //$NON-NLS-2$
return child;
}
}