Fix missing trailing + that went missing with refactoring in commit 
8a5b4204bf4c053316c88a265a9afee04a250e36


Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/d0ce30de
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/d0ce30de
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/d0ce30de

Branch: refs/heads/feature/RollingFileAppender-NG
Commit: d0ce30de82e81f584830cbaa47e60828744eee4d
Parents: a68eec3
Author: Dominik Psenner <dpsen...@apache.org>
Authored: Thu Jul 27 21:38:21 2017 +0200
Committer: Dominik Psenner <dpsen...@apache.org>
Committed: Thu Jul 27 21:38:21 2017 +0200

----------------------------------------------------------------------
 src/Appender/RemoteSyslogAppender.cs |  6 +++---
 src/Appender/TelnetAppender.cs       |  6 +++---
 src/Appender/UdpAppender.cs          | 26 +++++++++++++-------------
 3 files changed, 19 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/d0ce30de/src/Appender/RemoteSyslogAppender.cs
----------------------------------------------------------------------
diff --git a/src/Appender/RemoteSyslogAppender.cs 
b/src/Appender/RemoteSyslogAppender.cs
index e8aeed3..f5c1406 100644
--- a/src/Appender/RemoteSyslogAppender.cs
+++ b/src/Appender/RemoteSyslogAppender.cs
@@ -419,9 +419,9 @@ namespace log4net.Appender
                        catch (Exception e)
                        {
                                ErrorHandler.Error(
-                                       "Unable to send logging event to remote 
syslog "
-                                       this.RemoteAddress.ToString()
-                                       " on port "
+                                       "Unable to send logging event to remote 
syslog " +
+                                       this.RemoteAddress.ToString(),
+                                       " on port " +
                                        this.RemotePort + ".",
                                        e,
                                        ErrorCode.WriteFailure);

http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/d0ce30de/src/Appender/TelnetAppender.cs
----------------------------------------------------------------------
diff --git a/src/Appender/TelnetAppender.cs b/src/Appender/TelnetAppender.cs
index ded2a27..fab07a0 100644
--- a/src/Appender/TelnetAppender.cs
+++ b/src/Appender/TelnetAppender.cs
@@ -110,9 +110,9 @@ namespace log4net.Appender
                                if (value < IPEndPoint.MinPort || value > 
IPEndPoint.MaxPort)
                                {
                                        throw 
log4net.Util.SystemInfo.CreateArgumentOutOfRangeException("value", 
(object)value,
-                                               "The value specified for Port 
is less than "
-                                               
IPEndPoint.MinPort.ToString(NumberFormatInfo.InvariantInfo)
-                                               " or greater than "
+                                               "The value specified for Port 
is less than " +
+                                               
IPEndPoint.MinPort.ToString(NumberFormatInfo.InvariantInfo) +
+                                               " or greater than " +
                                                
IPEndPoint.MaxPort.ToString(NumberFormatInfo.InvariantInfo) + ".");
                                }
                                else

http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/d0ce30de/src/Appender/UdpAppender.cs
----------------------------------------------------------------------
diff --git a/src/Appender/UdpAppender.cs b/src/Appender/UdpAppender.cs
index db5d01d..4aa5512 100644
--- a/src/Appender/UdpAppender.cs
+++ b/src/Appender/UdpAppender.cs
@@ -256,9 +256,9 @@ namespace log4net.Appender
                                if (value != 0 && (value < IPEndPoint.MinPort 
|| value > IPEndPoint.MaxPort))
                                {
                                        throw 
log4net.Util.SystemInfo.CreateArgumentOutOfRangeException("value", 
(object)value,
-                                               "The value specified is less 
than "
-                                               
IPEndPoint.MinPort.ToString(NumberFormatInfo.InvariantInfo)
-                                               " or greater than "
+                                               "The value specified is less 
than " +
+                                               
IPEndPoint.MinPort.ToString(NumberFormatInfo.InvariantInfo) +
+                                               " or greater than " +
                                                
IPEndPoint.MaxPort.ToString(NumberFormatInfo.InvariantInfo) + ".");
                                }
                                else
@@ -362,17 +362,17 @@ namespace log4net.Appender
                        else if (this.RemotePort < IPEndPoint.MinPort || 
this.RemotePort > IPEndPoint.MaxPort)
                        {
                                throw 
log4net.Util.SystemInfo.CreateArgumentOutOfRangeException("this.RemotePort", 
(object)this.RemotePort,
-                                       "The RemotePort is less than "
-                                       
IPEndPoint.MinPort.ToString(NumberFormatInfo.InvariantInfo)
-                                       " or greater than "
+                                       "The RemotePort is less than " +
+                                       
IPEndPoint.MinPort.ToString(NumberFormatInfo.InvariantInfo) +
+                                       " or greater than " +
                                        
IPEndPoint.MaxPort.ToString(NumberFormatInfo.InvariantInfo) + ".");
                        }
                        else if (this.LocalPort != 0 && (this.LocalPort < 
IPEndPoint.MinPort || this.LocalPort > IPEndPoint.MaxPort))
                        {
                                throw 
log4net.Util.SystemInfo.CreateArgumentOutOfRangeException("this.LocalPort", 
(object)this.LocalPort,
-                                       "The LocalPort is less than "
-                                       
IPEndPoint.MinPort.ToString(NumberFormatInfo.InvariantInfo)
-                                       " or greater than "
+                                       "The LocalPort is less than " +
+                                       
IPEndPoint.MinPort.ToString(NumberFormatInfo.InvariantInfo) +
+                                       " or greater than " +
                                        
IPEndPoint.MaxPort.ToString(NumberFormatInfo.InvariantInfo) + ".");
                        }
                        else
@@ -412,9 +412,9 @@ namespace log4net.Appender
                        catch (Exception ex)
                        {
                                ErrorHandler.Error(
-                                       "Unable to send logging event to remote 
host "
-                                       this.RemoteAddress.ToString()
-                                       " on port "
+                                       "Unable to send logging event to remote 
host " +
+                                       this.RemoteAddress.ToString() +
+                                       " on port " +
                                        this.RemotePort + ".",
                                        ex,
                                        ErrorCode.WriteFailure);
@@ -496,7 +496,7 @@ namespace log4net.Appender
                        catch (Exception ex)
                        {
                                ErrorHandler.Error(
-                                       "Could not initialize the UdpClient 
connection on port "
+                                       "Could not initialize the UdpClient 
connection on port " +
                                        
this.LocalPort.ToString(NumberFormatInfo.InvariantInfo) + ".",
                                        ex,
                                        ErrorCode.GenericFailure);

Reply via email to