01: /*
02: * Copyright (C) 2007 XStream Committers.
03: * All rights reserved.
04: *
05: * The software in this package is published under the terms of the BSD
06: * style license a copy of which has been included with this distribution in
07: * the LICENSE.txt file.
08: *
09: * Created on 10. April 2007 by Guilherme Silveira
10: */
11: package com.thoughtworks.xstream.converters.reflection;
12:
13: import java.util.Map;
14:
15: /**
16: * Does not change the order of the fields.
17: *
18: * @author Guilherme Silveira
19: * @since 1.2.2
20: */
21: public class ImmutableFieldKeySorter implements FieldKeySorter {
22:
23: public Map sort(Class type, Map keyedByFieldKey) {
24: return keyedByFieldKey;
25: }
26:
27: }
|