litesoft
Diff Revisions
50
vs
805
for /trunk/Java/core/Anywhere/src/org/litesoft/core/util/SortableBuilder.java
|
@@ -1,6 +1,8 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.core.util; |
3 |
3 |
|
|
|
4 |
+ |
import org.litesoft.core.typeutils.*; |
|
5 |
+ |
|
4 |
6 |
|
public class SortableBuilder |
5 |
7 |
|
{ |
6 |
8 |
|
public static final String INITIAL_VALUE = "m"; |
|
@@ -38,7 +40,7 @@ |
38 |
40 |
|
{ |
39 |
41 |
|
return pCurrentBefore; |
40 |
42 |
|
} |
41 |
|
- |
if ( UtilsCommon.firstGreaterThanSecond( pCurrentBefore, pCurrentAfter ) ) |
|
43 |
+ |
if ( Compare.firstGreaterThanSecond( pCurrentBefore, pCurrentAfter ) ) |
42 |
44 |
|
{ |
43 |
45 |
|
throw new IllegalArgumentException( "Out of order: " + pCurrentBefore + " , " + pCurrentAfter ); |
44 |
46 |
|
} |