Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
SqlGeneratorComparator |
|
| 1.0;1 |
1 | package liquibase.sqlgenerator; | |
2 | ||
3 | import java.util.Comparator; | |
4 | ||
5 | 1885 | class SqlGeneratorComparator implements Comparator<SqlGenerator> { |
6 | public int compare(SqlGenerator o1, SqlGenerator o2) { | |
7 | 56 | return -1 * new Integer(o1.getPriority()).compareTo(o2.getPriority()); |
8 | } | |
9 | } |