mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-20 06:22:10 +01:00
do not call toString on string objects
This commit is contained in:
@@ -654,7 +654,7 @@ public final class IOUtil
|
||||
close(in);
|
||||
}
|
||||
|
||||
return content.toString();
|
||||
return content;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user