litesoft
Diff Revisions
803
vs
804
for /trunk/Java/core/Server/src/org/litesoft/util/template/RepeatingTC.java
|
@@ -4,6 +4,7 @@ |
4 |
4 |
|
import java.io.*; |
5 |
5 |
|
import java.util.*; |
6 |
6 |
|
|
|
7 |
+ |
import org.litesoft.core.typeutils.*; |
7 |
8 |
|
import org.litesoft.util.*; |
8 |
9 |
|
|
9 |
10 |
|
public class RepeatingTC extends AbstractTC implements TCsub |
|
@@ -17,7 +18,7 @@ |
17 |
18 |
|
super( pSubstitutions ); |
18 |
19 |
|
mReplacementKey = Utils.assertNotNullNotEmpty( "ReplacementKey", pReplacementKey ); |
19 |
20 |
|
mSubstituteFroms = pSubstituteFroms; |
20 |
|
- |
Utils.assertNotNull( "Template", mTemplate = pTemplate ); |
|
21 |
+ |
Objects.assertNotNull( "Template", mTemplate = pTemplate ); |
21 |
22 |
|
} |
22 |
23 |
|
|
23 |
24 |
|
public RepeatingTC( String pReplacementKey, Object[] pSubstituteFroms, Reader pTemplate, TCsub... pSubstitutions ) |