diff options
author | Narayan Kamath <narayan@google.com> | 2015-04-20 11:47:40 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2015-04-21 10:29:23 +0000 |
commit | db4d0bd54407d4f6116e51ba0668869f3f790b40 (patch) | |
tree | b47a7a539ca7095bd60d2c41b97a0fed99baca5e /harmony-tests/src | |
parent | 6e117b89a451008286947c566ca3f90a1dc9f35b (diff) | |
download | libcore-db4d0bd54407d4f6116e51ba0668869f3f790b40.zip libcore-db4d0bd54407d4f6116e51ba0668869f3f790b40.tar.gz libcore-db4d0bd54407d4f6116e51ba0668869f3f790b40.tar.bz2 |
Remove support for reading mime types from property files.
This support was untested and unused and of very limited utility,
given that this class is initialized in the zygote. It also discourages
arbitrary changes to the priority order of mappings.
Change-Id: I2a7f91d2956627cd59f948561c37678bc45d118d
Diffstat (limited to 'harmony-tests/src')
-rw-r--r-- | harmony-tests/src/test/java/org/apache/harmony/tests/java/io/FileTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/FileTest.java b/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/FileTest.java index 5cc88f4..77812ed 100644 --- a/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/FileTest.java +++ b/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/FileTest.java @@ -227,8 +227,8 @@ public class FileTest extends TestCase { assertEquals("wrong result 4", ref1.getPath(), file4.getPath()); } - File ref2 = new File("/lib/content-types.properties"); - File file5 = new File("/", "lib/content-types.properties"); + File ref2 = new File("/lib/test_112270.properties"); + File file5 = new File("/", "lib/test_112270.properties"); assertEquals("wrong result 5", ref2.getPath(), file5.getPath()); } |