|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
/*
|
|
|
|
|
* Copyright 2012-2019 the original author or authors.
|
|
|
|
|
* Copyright 2012-2020 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.
|
|
|
|
@ -81,7 +81,8 @@ public class SimpleHttpCodeStatusMapper implements HttpCodeStatusMapper {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
StringBuilder builder = new StringBuilder();
|
|
|
|
|
for (char ch : code.toCharArray()) {
|
|
|
|
|
for (int i = 0; i < code.length(); i++) {
|
|
|
|
|
char ch = code.charAt(i);
|
|
|
|
|
if (Character.isAlphabetic(ch) || Character.isDigit(ch)) {
|
|
|
|
|
builder.append(Character.toLowerCase(ch));
|
|
|
|
|
}
|
|
|
|
|