Bad newlines on windows

git-svn-id: http://jclouds.googlecode.com/svn/trunk@2302 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
adrian.f.cole 2009-11-21 20:23:19 +00:00
parent 99f29fb10b
commit fc9fd1e93d
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ public class HttpUtils {
sortedMap.putAll(headers); sortedMap.putAll(headers);
for (Entry<String, String> header : sortedMap.entries()) { for (Entry<String, String> header : sortedMap.entries()) {
if (header.getKey() != null) if (header.getKey() != null)
buffer.append(String.format("%s: %s%n", header.getKey(), header.getValue())); buffer.append(String.format("%s: %s\n", header.getKey(), header.getValue()));
} }
return buffer.toString(); return buffer.toString();
} }