Rename MimeMap.Builder setter methods to match guidelines
Bug: 184654804 Test: m droid Change-Id: I9d7062af7430856a213edc4ab98b4506e1106053
This commit is contained in:
parent
0e41945e3a
commit
1c44ac53fd
@ -96,7 +96,7 @@ public class DefaultMimeMapFactory {
|
||||
specs.add(spec);
|
||||
startIdx = endIdx + 1; // skip over the space
|
||||
} while (startIdx < line.length());
|
||||
builder.put(specs.get(0), specs.subList(1, specs.size()));
|
||||
builder.addMimeMapping(specs.get(0), specs.subList(1, specs.size()));
|
||||
}
|
||||
} catch (IOException | RuntimeException e) {
|
||||
throw new RuntimeException("Failed to parse " + resourceName, e);
|
||||
|
Loading…
x
Reference in New Issue
Block a user