litesoft
Diff Revisions
49
vs
804
for /trunk/Java/core/Server/src/org/litesoft/util/template/SubTC.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 SubTC extends AbstractReaderTC implements TCsub |
|
@@ -14,7 +15,7 @@ |
14 |
15 |
|
{ |
15 |
16 |
|
super( pTemplate, pSubstitutions ); |
16 |
17 |
|
mReplacementKey = Utils.assertNotNullNotEmpty( "ReplacementKey", pReplacementKey ); |
17 |
|
- |
Utils.assertNotNull( "Template", mTemplate = pTemplate ); |
|
18 |
+ |
Objects.assertNotNull( "Template", mTemplate = pTemplate ); |
18 |
19 |
|
} |
19 |
20 |
|
|
20 |
21 |
|
public SubTC( String pReplacementKey, Reader pTemplate, TCsub... pSubstitutions ) |