Lucene.Net.Core.Support: Deleted unused Double class

Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/4f2a2257
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/4f2a2257
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/4f2a2257

Branch: refs/heads/api-work
Commit: 4f2a22576d2b5005d096e88452822c146f79a373
Parents: b9cc92d
Author: Shad Storhaug <[email protected]>
Authored: Tue Jan 31 11:33:37 2017 +0700
Committer: Shad Storhaug <[email protected]>
Committed: Tue Jan 31 11:33:37 2017 +0700

----------------------------------------------------------------------
 src/Lucene.Net.Core/Lucene.Net.csproj |  1 -
 src/Lucene.Net.Core/Support/Double.cs | 44 ------------------------------
 2 files changed, 45 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4f2a2257/src/Lucene.Net.Core/Lucene.Net.csproj
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Lucene.Net.csproj 
b/src/Lucene.Net.Core/Lucene.Net.csproj
index 1d52bd9..7882f11 100644
--- a/src/Lucene.Net.Core/Lucene.Net.csproj
+++ b/src/Lucene.Net.Core/Lucene.Net.csproj
@@ -678,7 +678,6 @@
     <Compile Include="Support\Compatibility\WrappedHashSet.cs" />
     <Compile Include="Support\CRC32.cs" />
     <Compile Include="Support\Deflater.cs" />
-    <Compile Include="Support\Double.cs" />
     <Compile Include="Support\EquatableList.cs" />
     <Compile Include="Support\FileSupport.cs" />
     <Compile Include="Support\GeneralKeyedCollection.cs" />

http://git-wip-us.apache.org/repos/asf/lucenenet/blob/4f2a2257/src/Lucene.Net.Core/Support/Double.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net.Core/Support/Double.cs 
b/src/Lucene.Net.Core/Support/Double.cs
deleted file mode 100644
index 1c5ace0..0000000
--- a/src/Lucene.Net.Core/Support/Double.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- *
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * 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;
-using System.Globalization;
-
-namespace Lucene.Net.Support
-{
-    /// <summary>
-    ///
-    /// </summary>
-    public class Double
-    {
-        public static System.Double Parse(System.String s)
-        {
-            try
-            {
-                return System.Double.Parse(s.Replace(".", 
CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator));
-            }
-            catch (OverflowException)
-            {
-                return System.Double.MaxValue;
-            }
-        }
-    }
-}
\ No newline at end of file

Reply via email to