Codebase list libxstream-java / upstream/1.4.15 xstream / src / java / com / thoughtworks / xstream / converters / reflection / ImmutableFieldKeySorter.java
upstream/1.4.15

Tree @upstream/1.4.15 (Download .tar.gz)

ImmutableFieldKeySorter.java @upstream/1.4.15raw · history · blame

/*
 * Copyright (C) 2007 XStream Committers.
 * All rights reserved.
 *
 * The software in this package is published under the terms of the BSD
 * style license a copy of which has been included with this distribution in
 * the LICENSE.txt file.
 * 
 * Created on 10. April 2007 by Guilherme Silveira
 */
package com.thoughtworks.xstream.converters.reflection;

import java.util.Map;

/**
 * Does not change the order of the fields.
 *
 * @author Guilherme Silveira
 * @since 1.2.2
 */
public class ImmutableFieldKeySorter implements FieldKeySorter {

	public Map sort(Class type, Map keyedByFieldKey) {
		return keyedByFieldKey;
	}

}