diff --git a/src/org/ice4j/TransportAddress.java b/src/org/ice4j/TransportAddress.java
index 7070e28..b40ab8f 100644
--- a/src/org/ice4j/TransportAddress.java
+++ b/src/org/ice4j/TransportAddress.java
@@ -267,16 +267,9 @@ public class TransportAddress
//opposite is considerably lower than the probability of us
//trying to reach a distant global address through one of our
//own. Therefore we would return false here by default.
-
- if(Boolean.getBoolean(
- StackProperties.ALLOW_LINK_TO_GLOBAL_REACHABILITY))
- {
- return true;
- }
- else
- {
- return false;
- }
+ return
+ Boolean.getBoolean(
+ StackProperties.ALLOW_LINK_TO_GLOBAL_REACHABILITY);
}
}
diff --git a/src/org/ice4j/ice/Component.java b/src/org/ice4j/ice/Component.java
index 17024ef..3e9bc43 100644
--- a/src/org/ice4j/ice/Component.java
+++ b/src/org/ice4j/ice/Component.java
@@ -609,17 +609,12 @@ public class Component
* Returns a short String representation of this
* Component.
*
- * @return a short String representation of this
+ * @return a short String representation of this
* Component.
*/
public String toShortString()
{
- StringBuffer buff
- = new StringBuffer(parentStream.getName());
- buff.append(".");
- buff.append(getName());
-
- return buff.toString();
+ return parentStream.getName() + "." + getName();
}
/**