Polishing

This commit is contained in:
Juergen Hoeller
2018-07-30 23:13:22 +02:00
parent 2a32c6cf57
commit a65c7ef780
2 changed files with 8 additions and 2 deletions

View File

@@ -246,6 +246,9 @@ public class InputTag extends AbstractHtmlInputElementTag {
public static final String AUTOCOMPLETE_ATTRIBUTE = "autocomplete";
@Deprecated
public static final String READONLY_ATTRIBUTE = "readonly";
@Nullable
private String size;
@@ -381,7 +384,7 @@ public class InputTag extends AbstractHtmlInputElementTag {
String type = null;
Map<String, Object> attributes = getDynamicAttributes();
if (attributes != null) {
type = (String) getDynamicAttributes().get("type");
type = (String) attributes.get("type");
}
if (type == null) {
type = getType();

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 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.
@@ -227,6 +227,9 @@ public class TextareaTag extends AbstractHtmlInputElementTag {
public static final String ONSELECT_ATTRIBUTE = "onselect";
@Deprecated
public static final String READONLY_ATTRIBUTE = "readonly";
@Nullable
private String rows;