From db4d0bd54407d4f6116e51ba0668869f3f790b40 Mon Sep 17 00:00:00 2001 From: Narayan Kamath Date: Mon, 20 Apr 2015 11:47:40 +0100 Subject: 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 --- .../src/test/java/org/apache/harmony/tests/java/io/FileTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'harmony-tests/src/test/java') 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()); } -- cgit v1.1