Permalink
Browse files

Merge branch 'master' into develop

  • Loading branch information...
2 parents ed7f9cb + d105190 commit 1852810d5dd2949ab59c3b246918fa89d0bd8b8d @peschkaj peschkaj committed Oct 7, 2011
Showing with 53 additions and 53 deletions.
  1. +53 −53 CorrugatedIron/Models/MapReduce/KeyFilters/ToLower.cs
@@ -1,53 +1,53 @@
-// Copyright (c) 2011 - OJ Reeves & Jeremiah Peschka
-//
-// This file is provided to you under the Apache License,
-// Version 2.0 (the "License"); you may not use this file
-// except in compliance with the License. You may obtain
-// a copy of the License at
-//
-// http://www.apache.org/licenses/LICENSE-2.0
-//
-// Unless required by applicable law or agreed to in writing,
-// software distributed under the License is distributed on an
-// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-// KIND, either express or implied. See the License for the
-// specific language governing permissions and limitations
-// under the License.
-
-using System.IO;
-using System.Text;
-using Newtonsoft.Json;
-
-namespace CorrugatedIron.Models.MapReduce.KeyFilters
-{
- /// <summary>
- /// Changes all letters to lowercase.
- /// </summary>
- public class ToLower : IRiakKeyFilterToken
- {
- public string FunctionName { get { return "to_lower"; } }
-
- public override string ToString()
- {
- return ToJsonString();
- }
-
- public string ToJsonString()
- {
- var sb = new StringBuilder();
-
- using (var sw = new StringWriter(sb))
- using (JsonWriter jw = new JsonTextWriter(sw))
- {
- jw.WriteStartArray();
-
- jw.WriteValue(FunctionName);
-
- jw.WriteEndArray();
- }
-
- return sb.ToString();
- }
- }
-}
-
+// Copyright (c) 2011 - OJ Reeves & Jeremiah Peschka
+//
+// This file is provided to you under the Apache License,
+// Version 2.0 (the "License"); you may not use this file
+// except in compliance with the License. You may obtain
+// a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+using System.IO;
+using System.Text;
+using Newtonsoft.Json;
+
+namespace CorrugatedIron.Models.MapReduce.KeyFilters
+{
+ /// <summary>
+ /// Changes all letters to lowercase.
+ /// </summary>
+ public class ToLower : IRiakKeyFilterToken
+ {
+ public string FunctionName { get { return "to_lower"; } }
+
+ public override string ToString()
+ {
+ return ToJsonString();
+ }
+
+ public string ToJsonString()
+ {
+ var sb = new StringBuilder();
+
+ using (var sw = new StringWriter(sb))
+ using (JsonWriter jw = new JsonTextWriter(sw))
+ {
+ jw.WriteStartArray();
+
+ jw.WriteValue(FunctionName);
+
+ jw.WriteEndArray();
+ }
+
+ return sb.ToString();
+ }
+ }
+}
+

0 comments on commit 1852810

Please sign in to comment.