mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
HTML and comment cleanup. Small API refactors. Moved use of StringBuffer to StringBuilder.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@10865 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
b927475caa
commit
334838d28e
32 changed files with 271 additions and 305 deletions
|
@ -1071,7 +1071,7 @@ public class AbstractHashedMap <K,V> extends AbstractMap<K, V> implements Iterab
|
|||
}
|
||||
|
||||
public String toString() {
|
||||
return new StringBuffer().append(getKey()).append('=').append(getValue()).toString();
|
||||
return new StringBuilder().append(getKey()).append('=').append(getValue()).toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1316,7 +1316,7 @@ public class AbstractHashedMap <K,V> extends AbstractMap<K, V> implements Iterab
|
|||
if (size() == 0) {
|
||||
return "{}";
|
||||
}
|
||||
StringBuffer buf = new StringBuffer(32 * size());
|
||||
StringBuilder buf = new StringBuilder(32 * size());
|
||||
buf.append('{');
|
||||
|
||||
MapIterator it = mapIterator();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue