diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-08-15 01:58:04 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-08-15 01:58:50 +0200 |
commit | cf4e20ede906dd7aaab5251083041185c4b35a9e (patch) | |
tree | dc8559e5b9c2d8ba4bfdac47215f7beeb64cdf3c /bean/com | |
parent | b240636a5b1f7afa8ba3795ba520cbb3500e7236 (diff) |
Some PMD cleaning
Diffstat (limited to 'bean/com')
-rw-r--r-- | bean/com/sun/star/beans/LocalOfficeConnection.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeConnection.java b/bean/com/sun/star/beans/LocalOfficeConnection.java index 11283066cc34..fc098c381a15 100644 --- a/bean/com/sun/star/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/beans/LocalOfficeConnection.java @@ -179,7 +179,7 @@ public class LocalOfficeConnection public void dispose() { Iterator itr = mComponents.iterator(); - while (itr.hasNext() == true) { + while (itr.hasNext()) { // ignore runtime exceptions in dispose try { ((XEventListener)itr.next()).disposing(null); } catch ( RuntimeException aExc ) {} @@ -462,12 +462,12 @@ public class LocalOfficeConnection case ';': idx -= 1; // put back the last read character state = 5; - if (name.equals("path")) { + if (("path").equals(name)) { if (path == null) path = buffer.toString(); else state = -3; // error: more then one 'path' - } else if (name.equals("pipe")) { + } else if (("pipe").equals(name)) { if (pipe == null) pipe = buffer.toString(); else |