- for (char ch : XML_TAG.toCharArray()) {\r
- Integer times = map.get(ch);\r
- map.put(ch, (times == null ? 0 : times) + 1);\r
- }\r
+ for (char ch : XML_TAG.toCharArray()) {\r
+ Integer times = map.get(ch);\r
+ map.put(ch, (times == null ? 0 : times) + 1);\r
+ }\r
- for (char ch : map.keySet()) {\r
- verify(writer, times(map.get(ch))).write(ch);\r
- }\r
- }\r
+ for (char ch : map.keySet()) {\r
+ verify(writer, times(map.get(ch))).write(ch);\r
+ }\r
+ }\r