Skip to content

Commit 2565dd6

Browse files
author
Stephane Landelle
committed
minor clean up
1 parent 87bc55d commit 2565dd6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

api/src/main/java/org/asynchttpclient/cookie/Cookie.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public boolean isHttpOnly() {
148148
public String toString() {
149149
StringBuilder buf = new StringBuilder();
150150
buf.append(name);
151-
buf.append("=");
151+
buf.append('=');
152152
buf.append(rawValue);
153153
if (domain != null) {
154154
buf.append("; domain=");
@@ -165,7 +165,7 @@ public String toString() {
165165
if (maxAge >= 0) {
166166
buf.append("; maxAge=");
167167
buf.append(maxAge);
168-
buf.append("s");
168+
buf.append('s');
169169
}
170170
if (secure) {
171171
buf.append("; secure");

api/src/main/java/org/asynchttpclient/resumable/PropertiesBasedResumableProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public void save(Map<String, Long> map) {
8888
}
8989

9090
private static String append(Map.Entry<String, Long> e) {
91-
return new StringBuilder(e.getKey()).append("=").append(e.getValue()).append("\n").toString();
91+
return new StringBuilder(e.getKey()).append('=').append(e.getValue()).append('\n').toString();
9292
}
9393

9494
/**

0 commit comments

Comments
 (0)