Merge pull request #854 from andrewgaul/awserror-trailing-brace

Always add trailing brace to AWSError.tostring
This commit is contained in:
Adrian Cole 2012-09-25 17:54:15 -07:00
commit 48bdea8c39
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ public class AWSError {
if (getSignature() != null)
sb.append(", signature='").append(getSignature()).append('\'');
if (details.size() != 0)
sb.append(", context='").append(details.toString()).append('\'').append('}');
sb.append(", context='").append(details.toString()).append('\'');
sb.append('}');
return sb.toString();
}