diff options
author | Jon Skeet <skeet@pobox.com> | 2010-11-03 11:21:52 +0000 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2010-11-03 11:21:52 +0000 |
commit | 57599ef16daeda48381711dae1600cf0c467689d (patch) | |
tree | 3030080b7b81b64cc1b43f107ad255acad16cbca /src/ProtocolBuffers/UnknownField.cs | |
parent | c58ce5dc0c6dbe792ad53c63926bb3e8facef47b (diff) | |
download | protobuf-57599ef16daeda48381711dae1600cf0c467689d.tar.gz protobuf-57599ef16daeda48381711dae1600cf0c467689d.tar.bz2 protobuf-57599ef16daeda48381711dae1600cf0c467689d.zip |
A few stylistic issues
Diffstat (limited to 'src/ProtocolBuffers/UnknownField.cs')
-rw-r--r-- | src/ProtocolBuffers/UnknownField.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ProtocolBuffers/UnknownField.cs b/src/ProtocolBuffers/UnknownField.cs index dc0b1b6a..fdc00650 100644 --- a/src/ProtocolBuffers/UnknownField.cs +++ b/src/ProtocolBuffers/UnknownField.cs @@ -273,7 +273,7 @@ namespace Google.ProtocolBuffers { if (extras.Count == 0) { return current; } - if (current == null) { + if (current == null) { current = new List<T>(extras); } else { current.AddRange(extras); @@ -359,7 +359,7 @@ namespace Google.ProtocolBuffers { /// <returns></returns> private static ReadOnlyCollection<T> MakeReadOnly<T>(ref List<T> list) { ReadOnlyCollection<T> ret = list == null ? Lists<T>.Empty : new ReadOnlyCollection<T>(list); - list = null; + list = null; return ret; } } |