diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-29 14:47:32 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-06-29 14:47:32 +0700 |
commit | a395a34a769d3c7e6616129f4832b7014dbbfe98 (patch) | |
tree | 76a4749c2f548afff826c6758de3c8ce0b6fd646 /crypto/src/pkix/PkixPolicyNode.cs | |
parent | Generics migration complete (diff) | |
download | BouncyCastle.NET-ed25519-a395a34a769d3c7e6616129f4832b7014dbbfe98.tar.xz |
Cleanup NewLine handling
Diffstat (limited to 'crypto/src/pkix/PkixPolicyNode.cs')
-rw-r--r-- | crypto/src/pkix/PkixPolicyNode.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/crypto/src/pkix/PkixPolicyNode.cs b/crypto/src/pkix/PkixPolicyNode.cs index 0ea80b258..5a29d7b13 100644 --- a/crypto/src/pkix/PkixPolicyNode.cs +++ b/crypto/src/pkix/PkixPolicyNode.cs @@ -110,14 +110,12 @@ namespace Org.BouncyCastle.Pkix return ToString(""); } - public virtual string ToString( - string indent) + public virtual string ToString(string indent) { StringBuilder buf = new StringBuilder(); buf.Append(indent); buf.Append(mValidPolicy); - buf.Append(" {"); - buf.Append(Platform.NewLine); + buf.AppendLine(" {"); foreach (PkixPolicyNode child in mChildren) { @@ -125,8 +123,7 @@ namespace Org.BouncyCastle.Pkix } buf.Append(indent); - buf.Append("}"); - buf.Append(Platform.NewLine); + buf.AppendLine("}"); return buf.ToString(); } |