Skip to content

Commit f0722ed

Browse files
committed
Remove redundant modifiers.
1 parent 8b4a11c commit f0722ed

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

httprpc-client/src/main/java/org/httprpc/beans/BeanAdapter.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
public class BeanAdapter extends AbstractMap<String, Object> {
4242
// Iterable adapter
4343
private static class IterableAdapter extends AbstractList<Object> {
44-
private Iterable<?> iterable;
45-
private HashMap<Class<?>, HashMap<String, Method>> accessorCache;
44+
Iterable<?> iterable;
45+
HashMap<Class<?>, HashMap<String, Method>> accessorCache;
4646

47-
public IterableAdapter(Iterable<?> iterable, HashMap<Class<?>, HashMap<String, Method>> accessorCache) {
47+
IterableAdapter(Iterable<?> iterable, HashMap<Class<?>, HashMap<String, Method>> accessorCache) {
4848
this.iterable = iterable;
4949
this.accessorCache = accessorCache;
5050
}
@@ -87,10 +87,10 @@ public Object next() {
8787

8888
// Map adapter
8989
private static class MapAdapter extends AbstractMap<Object, Object> {
90-
private Map<?, ?> map;
91-
private HashMap<Class<?>, HashMap<String, Method>> accessorCache;
90+
Map<?, ?> map;
91+
HashMap<Class<?>, HashMap<String, Method>> accessorCache;
9292

93-
public MapAdapter(Map<?, ?> map, HashMap<Class<?>, HashMap<String, Method>> accessorCache) {
93+
MapAdapter(Map<?, ?> map, HashMap<Class<?>, HashMap<String, Method>> accessorCache) {
9494
this.map = map;
9595
this.accessorCache = accessorCache;
9696
}

httprpc-client/src/main/java/org/httprpc/io/TemplateEncoder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,9 +348,9 @@ private enum MarkerType {
348348

349349
// Map iterator
350350
private static class MapIterator implements Iterator<Map<?, ?>> {
351-
private Iterator<? extends Map.Entry<?, ?>> iterator;
351+
Iterator<? extends Map.Entry<?, ?>> iterator;
352352

353-
public MapIterator(Map<?, ?> map) {
353+
MapIterator(Map<?, ?> map) {
354354
iterator = map.entrySet().iterator();
355355
}
356356

httprpc-client/src/main/java/org/httprpc/xml/ElementAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
*/
2828
public class ElementAdapter extends AbstractMap<String, Object> {
2929
private static class NodeListAdapter extends AbstractList<ElementAdapter> {
30-
private NodeList nodeList;
30+
NodeList nodeList;
3131

32-
public NodeListAdapter(NodeList nodeList) {
32+
NodeListAdapter(NodeList nodeList) {
3333
this.nodeList = nodeList;
3434
}
3535

0 commit comments

Comments
 (0)