blob: d8a87dd8b92cbff958acf9a7421ee2ee342f1ade [file] [log] [blame]
/**
* Copyright (c) 2010 Mia-Software.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
*
* Fabien Giquel (Mia-Software) - initial API and implementation
*/
package org.eclipse.modisco.jee.jsp.generation.tests;
import java.io.File;
import java.util.Comparator;
/**
* TODO specific file comparator : neutralize JSP shape variations
*
*/
public class JSPFileComparator implements Comparator<File> {
public int compare(final File source, final File target) {
if (!source.getName().equals(target.getName())) {
return -1;
}
return 0;
}
}