Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -33,7 +33,7 @@ public enum HttpMethod {
|
||||
GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS, TRACE;
|
||||
|
||||
|
||||
private static final Map<String, HttpMethod> mappings = new HashMap<String, HttpMethod>(8);
|
||||
private static final Map<String, HttpMethod> mappings = new HashMap<String, HttpMethod>(16);
|
||||
|
||||
static {
|
||||
for (HttpMethod httpMethod : values()) {
|
||||
|
||||
@@ -52,7 +52,7 @@ class HtmlCharacterEntityReferences {
|
||||
|
||||
private final String[] characterToEntityReferenceMap = new String[3000];
|
||||
|
||||
private final Map<String, Character> entityReferenceToCharacterMap = new HashMap<String, Character>(252);
|
||||
private final Map<String, Character> entityReferenceToCharacterMap = new HashMap<String, Character>(512);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user