Remove unused RuntimePropertyRegistry.

... leftover from separate compile.

Change-Id: I5c3e82fc41840f4dc43f1cd906898345255a1dd0
diff --git a/dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java b/dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java
index 391b7ba..c5d5a17 100644
--- a/dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java
+++ b/dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java
@@ -76,8 +76,7 @@
   }
 
   public static final Set<String> CODEGEN_TYPES_SET = Sets.newLinkedHashSet(Arrays.asList(
-      "com.google.gwt.lang.Array", "com.google.gwt.lang.Cast",
-      "com.google.gwt.lang.RuntimePropertyRegistry", "com.google.gwt.lang.Exceptions",
+      "com.google.gwt.lang.Array", "com.google.gwt.lang.Cast", "com.google.gwt.lang.Exceptions",
       "com.google.gwt.lang.LongLib", "com.google.gwt.lang.Stats", "com.google.gwt.lang.Util",
       "java.lang.Object"));
 
diff --git a/dev/core/super/com/google/gwt/lang/RuntimePropertyRegistry.java b/dev/core/super/com/google/gwt/lang/RuntimePropertyRegistry.java
deleted file mode 100644
index b298616..0000000
--- a/dev/core/super/com/google/gwt/lang/RuntimePropertyRegistry.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/*
- * Copyright 2013 Google Inc.
- *
- * Licensed 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.
- */
-package com.google.gwt.lang;
-
-import java.util.HashMap;
-import java.util.Map;
-
-/**
- * A queryable runtime registry of binding property providers and configuration property
- * values.<br />
- *
- * Supports the execution of runtime rebinding by providing property value lookup to executing
- * runtime rebind rules.
- */
-public class RuntimePropertyRegistry {
-
-  /**
-   * A base for classes that can return or calculate a value for a property.
-   */
-  public abstract static class PropertyValueProvider {
-
-    /**
-     * Returns the name of the property for which a value is being provided.
-     */
-    public abstract String getName();
-
-    /**
-     * Returns a value for the intended property. The value might or might not be calculated on the
-     * fly based on the browser environment.
-     */
-    public abstract String getValue();
-  }
-
-  /**
-   * A cache of previously calculated values for requested property names.
-   */
-  private static Map<String, String> cachedPropertyValuesByName = new HashMap<String, String>();
-
-  /**
-   * The registry of property value provider classes, registered by name.
-   */
-  private static Map<String, PropertyValueProvider> propertyValueProvidersByName =
-      new HashMap<String, PropertyValueProvider>();
-
-  /**
-   * Returns the value for the given property name. On first access the matching property value
-   * provider is found and executed while subsequent access are served from a cache.
-   */
-  public static String getPropertyValue(String propertyName) {
-    if (cachedPropertyValuesByName.containsKey(propertyName)) {
-      return cachedPropertyValuesByName.get(propertyName);
-    }
-
-    if (propertyValueProvidersByName.containsKey(propertyName)) {
-      PropertyValueProvider propertyProvider = propertyValueProvidersByName.get(propertyName);
-      String propertyValue = propertyProvider.getValue();
-      cachedPropertyValuesByName.put(propertyName, propertyValue);
-      return propertyValue;
-    }
-
-    throw new RuntimeException("Can't get a value for property '" + propertyName
-        + "' since it does not have a registered value generator.");
-  }
-
-  /**
-   * Registers the given property value provider. Registered providers are indexed by property name
-   * for fast retrieval.
-   */
-  public static void registerPropertyValueProvider(PropertyValueProvider propertyValueProvider) {
-    propertyValueProvidersByName.put(propertyValueProvider.getName(), propertyValueProvider);
-  }
-}
diff --git a/dev/core/test/com/google/gwt/lang/RuntimePropertyRegistryTest.java b/dev/core/test/com/google/gwt/lang/RuntimePropertyRegistryTest.java
deleted file mode 100644
index 06ade30..0000000
--- a/dev/core/test/com/google/gwt/lang/RuntimePropertyRegistryTest.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright 2013 Google Inc.
- *
- * Licensed 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.
- */
-package com.google.gwt.lang;
-
-import com.google.gwt.lang.RuntimePropertyRegistry.PropertyValueProvider;
-
-import junit.framework.TestCase;
-
-/**
- * Tests for the RuntimePropertyRegistry.
- */
-public class RuntimePropertyRegistryTest extends TestCase {
-
-  private static class SimplePropertyValueProvider extends PropertyValueProvider {
-
-    private int accessCount;
-    private String name;
-    private String value;
-
-    public SimplePropertyValueProvider(String name, String value) {
-      this.name = name;
-      this.value = value;
-    }
-
-    @Override
-    public String getName() {
-      return name;
-    }
-
-    @Override
-    public String getValue() {
-      accessCount++;
-      return value;
-    }
-  }
-
-  public void testRegisterAndGet() {
-    // Sets up.
-    SimplePropertyValueProvider propertyValueProvider =
-        new SimplePropertyValueProvider("user.agent", "webkit");
-    RuntimePropertyRegistry.registerPropertyValueProvider(propertyValueProvider);
-
-    // Verifies lookup and caching.
-    assertEquals("webkit", RuntimePropertyRegistry.getPropertyValue("user.agent"));
-    assertEquals("webkit", RuntimePropertyRegistry.getPropertyValue("user.agent"));
-    assertEquals("webkit", RuntimePropertyRegistry.getPropertyValue("user.agent"));
-    assertEquals(1, propertyValueProvider.accessCount);
-  }
-}
diff --git a/user/test/com/google/gwt/core/CoreJreSuite.java b/user/test/com/google/gwt/core/CoreJreSuite.java
index 79065dd..c4f9b325 100644
--- a/user/test/com/google/gwt/core/CoreJreSuite.java
+++ b/user/test/com/google/gwt/core/CoreJreSuite.java
@@ -18,7 +18,6 @@
 import com.google.gwt.core.client.impl.AsyncFragmentLoaderTest;
 import com.google.gwt.core.client.testing.StubSchedulerTest;
 import com.google.gwt.dev.StrictModeTest;
-import com.google.gwt.lang.RuntimePropertyRegistryTest;
 
 import junit.framework.Test;
 import junit.framework.TestSuite;
@@ -30,7 +29,6 @@
   public static Test suite() {
     TestSuite suite = new TestSuite("All core tests");
     suite.addTestSuite(AsyncFragmentLoaderTest.class);
-    suite.addTestSuite(RuntimePropertyRegistryTest.class);
     suite.addTestSuite(StrictModeTest.class);
     suite.addTestSuite(StubSchedulerTest.class);
     return suite;