do not call toString on string objects

This commit is contained in:
Sebastian Sdorra
2013-06-23 11:41:07 +02:00
parent 1088279a5f
commit d9d571feaa
2 changed files with 2 additions and 2 deletions

View File

@@ -654,7 +654,7 @@ public final class IOUtil
close(in);
}
return content.toString();
return content;
}
/**

View File

@@ -165,7 +165,7 @@ public final class WebUtil
String cc = "max-age=".concat(Long.toString(seconds)).concat(", public");
// use public for https
response.addHeader(HEADER_CACHECONTROL, cc.toString());
response.addHeader(HEADER_CACHECONTROL, cc);
}
/**