Repository: reef
Updated Branches:
  refs/heads/master 2d3145512 -> 3850678e3


[REEF-1445] Remove .NET code made obsolete in 0.15

This change removes:
 * O.A.R.Wake.Util.TaskExtensions
 * REEFFileNames.GetDriverLoggingConfigCommand
 * O.A.R.Driver.Bridge.DriverBridgeConfigurationOptions.SetOfAssemblies

JIRA:
  [REEF-1445](https://issues.apache.org/jira/browse/REEF-1445)

Pull request:
  This closes #1039


Project: http://git-wip-us.apache.org/repos/asf/reef/repo
Commit: http://git-wip-us.apache.org/repos/asf/reef/commit/3850678e
Tree: http://git-wip-us.apache.org/repos/asf/reef/tree/3850678e
Diff: http://git-wip-us.apache.org/repos/asf/reef/diff/3850678e

Branch: refs/heads/master
Commit: 3850678e35aca5296a224cd7c9e91b6e21e1f3d9
Parents: 2d31455
Author: Mariia Mykhailova <[email protected]>
Authored: Wed Jun 8 09:50:29 2016 -0700
Committer: Andrew Chung <[email protected]>
Committed: Wed Jun 8 10:38:14 2016 -0700

----------------------------------------------------------------------
 .../Files/REEFFileNames.cs                      | 13 --------
 .../Bridge/DriverBridgeConfigurationOptions.cs  |  6 ----
 .../Org.Apache.REEF.Wake.csproj                 |  1 -
 .../Org.Apache.REEF.Wake/Util/TaskExtensions.cs | 32 --------------------
 4 files changed, 52 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/reef/blob/3850678e/lang/cs/Org.Apache.REEF.Common/Files/REEFFileNames.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Common/Files/REEFFileNames.cs 
b/lang/cs/Org.Apache.REEF.Common/Files/REEFFileNames.cs
index 3b625ac..dd5be54 100644
--- a/lang/cs/Org.Apache.REEF.Common/Files/REEFFileNames.cs
+++ b/lang/cs/Org.Apache.REEF.Common/Files/REEFFileNames.cs
@@ -15,7 +15,6 @@
 // specific language governing permissions and limitations
 // under the License.
 
-using System;
 using System.Diagnostics.CodeAnalysis;
 using System.IO;
 using Org.Apache.REEF.Tang.Annotations;
@@ -295,18 +294,6 @@ namespace Org.Apache.REEF.Common.Files
         }
 
         /// <summary>
-        /// The command that allows redirecting Driver stdout and stderr logs
-        /// to appropriate files
-        /// </summary>
-        /// <returns></returns>
-        [Obsolete("Deprecated in 0.15. Will be removed. " +
-                  "Please use GetDefaultYarnDriverStdoutFilePath or 
GetDefaultYarnDriverStderrFilePath.")]
-        public string GetDriverLoggingConfigCommand()
-        {
-            return DRIVER_COMMAND_LOGGING_CONFIG;
-        }
-
-        /// <summary>
         /// The filename for security token identifier
         /// </summary>
         /// <returns>filename which contains raw bytes of security token 
identifier</returns>

http://git-wip-us.apache.org/repos/asf/reef/blob/3850678e/lang/cs/Org.Apache.REEF.Driver/Bridge/DriverBridgeConfigurationOptions.cs
----------------------------------------------------------------------
diff --git 
a/lang/cs/Org.Apache.REEF.Driver/Bridge/DriverBridgeConfigurationOptions.cs 
b/lang/cs/Org.Apache.REEF.Driver/Bridge/DriverBridgeConfigurationOptions.cs
index 7edea2f..57c0c7f 100644
--- a/lang/cs/Org.Apache.REEF.Driver/Bridge/DriverBridgeConfigurationOptions.cs
+++ b/lang/cs/Org.Apache.REEF.Driver/Bridge/DriverBridgeConfigurationOptions.cs
@@ -157,11 +157,5 @@ namespace Org.Apache.REEF.Driver.Bridge
         public class TraceLevel : Name<string>
         {
         }
-
-        [NamedParameter]
-        [Obsolete("Deprecated in 0.15, will be removed.")]
-        public class SetOfAssemblies : Name<ISet<string>>
-        {
-        }
     }
 }

http://git-wip-us.apache.org/repos/asf/reef/blob/3850678e/lang/cs/Org.Apache.REEF.Wake/Org.Apache.REEF.Wake.csproj
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Wake/Org.Apache.REEF.Wake.csproj 
b/lang/cs/Org.Apache.REEF.Wake/Org.Apache.REEF.Wake.csproj
index afd0ccb..8e3a50b 100644
--- a/lang/cs/Org.Apache.REEF.Wake/Org.Apache.REEF.Wake.csproj
+++ b/lang/cs/Org.Apache.REEF.Wake/Org.Apache.REEF.Wake.csproj
@@ -177,7 +177,6 @@ under the License.
     <Compile Include="Util\LimitedConcurrencyLevelTaskScheduler.cs" />
     <Compile Include="Util\NetworkUtils.cs" />
     <Compile Include="Util\SerializationHelper.cs" />
-    <Compile Include="Util\TaskExtensions.cs" />
     <Compile Include="Util\TimeHelper.cs" />
     <Compile Include="WakeRuntimeException.cs" />
   </ItemGroup>

http://git-wip-us.apache.org/repos/asf/reef/blob/3850678e/lang/cs/Org.Apache.REEF.Wake/Util/TaskExtensions.cs
----------------------------------------------------------------------
diff --git a/lang/cs/Org.Apache.REEF.Wake/Util/TaskExtensions.cs 
b/lang/cs/Org.Apache.REEF.Wake/Util/TaskExtensions.cs
deleted file mode 100644
index 2865fc5..0000000
--- a/lang/cs/Org.Apache.REEF.Wake/Util/TaskExtensions.cs
+++ /dev/null
@@ -1,32 +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.Threading.Tasks;
-
-namespace Org.Apache.REEF.Wake.Util
-{
-    [Obsolete("Deprecated in 0.15. Will be removed in 0.16.")]
-    public static class TaskExtensions
-    {
-        [Obsolete("Deprecated in 0.15. Will be removed in 0.16. " +
-                  "Please use LoggingHelper.LogAndIgnoreExceptionIfAny 
instead.")]
-        public static void Forget(this Task task)
-        {
-        }
-    }
-}

Reply via email to