Uploaded image for project: 'REEF'
  1. REEF
  2. REEF-497 Remove APIs that have been deprecated since 0.11
  3. REEF-546

Remove APIs deprecated since 0.11 from Tang and EnvironmentUtils

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.13
    • Tang
    • None

    Description

      Tang seems to be the worst offender in continuing to use "deprecated" methods and classes. We need to figure out which ones are truly unneeded, and which ones we should upgrade to non-deprecated status.

      A grepped list of deprecated parts:

      --
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/Configuration.java:159:  @Deprecated
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/Configuration.java-160-  Iterable<Entry<NamedParameterNode<Set<?>>, Object>> getBoundSets();
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/Configuration.java-161-
      --
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java:45:@Deprecated
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-46-public class ConfigurationFile {
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-47-
      --
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java:54:  @Deprecated
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-55-  public static void writeConfigurationFile(
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-56-      final Configuration conf, final File confFile) throws IOException {
      --
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java:65:  @Deprecated
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-66-  public static void addConfiguration(final ConfigurationBuilder conf,
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-67-                                      final File tmpConfFile) throws IOException, BindException {
      --
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java:84:  @Deprecated
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-85-  public static void addConfiguration(final ConfigurationBuilder conf,
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-86-                                      final String contents) throws BindException {
      --
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java:184:  @Deprecated
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-185-  public static String toConfigurationString(final Configuration c) {
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-186-    StringBuilder sb = new StringBuilder();
      --
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java:197:  @Deprecated
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-198-  static List<String> toConfigurationStringList(final Configuration c) {
      lang/java/reef-tang/tang/src/main/java/org/apache/reef/tang/formats/ConfigurationFile.java-199-    ConfigurationImpl conf = (ConfigurationImpl) c;
      --
      

      Attachments

        Issue Links

          Activity

            People

              MariiaMykhailova Mariia Mykhailova
              chobrian Brian Cho
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: