summaryrefslogtreecommitdiff
path: root/bean/com/sun/star
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-08-15 01:58:04 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-08-15 01:58:50 +0200
commitcf4e20ede906dd7aaab5251083041185c4b35a9e (patch)
treedc8559e5b9c2d8ba4bfdac47215f7beeb64cdf3c /bean/com/sun/star
parentb240636a5b1f7afa8ba3795ba520cbb3500e7236 (diff)
Some PMD cleaning
Diffstat (limited to 'bean/com/sun/star')
-rw-r--r--bean/com/sun/star/beans/LocalOfficeConnection.java6
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