Polishing

This commit is contained in:
Juergen Hoeller
2018-07-30 23:05:57 +02:00
parent b17a6f9e03
commit e24ac55480
13 changed files with 45 additions and 49 deletions

View File

@@ -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()) {

View File

@@ -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);
/**