reduced eclipse i18n warning by adding $NON-NLS-1$ where appropriate
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1166102 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/SessionObject.java b/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/SessionObject.java
index 402dfab..34abf4a 100644
--- a/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/SessionObject.java
+++ b/webconsole-plugins/upnp/src/main/java/org/apache/felix/webconsole/plugins/upnp/internal/SessionObject.java
@@ -111,8 +111,8 @@
try
{
regProps.put(UPnPEventListener.UPNP_FILTER, bc.createFilter(//
- "(&(" + UPnPDevice.UDN + '=' + udn + ")(" + //
- UPnPService.ID + '=' + urn + "))"));
+ "(&(" + UPnPDevice.UDN + '=' + udn + ")(" + //$NON-NLS-1$ //$NON-NLS-2$
+ UPnPService.ID + '=' + urn + "))")); //$NON-NLS-1$
}
catch (InvalidSyntaxException e)
{ /* will not happen */
@@ -156,8 +156,11 @@
public final String toString()
{
StringBuffer buffer = new StringBuffer();
- buffer.append("SessionObject [sessionID=").append(sessionID).append(", udn=").append(
- udn).append(", urn=").append(urn).append(", vars=").append(vars).append("]");
+ buffer.append("SessionObject [sessionID=").append(sessionID) //$NON-NLS-1$
+ .append(", udn=").append(udn) //$NON-NLS-1$
+ .append(", urn=").append(urn) //$NON-NLS-1$
+ .append(", vars=").append(vars) //$NON-NLS-1$
+ .append(']');
return buffer.toString();
}