litesoft
Diff Revisions
803
vs
804
for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/TextFile.java
|
@@ -1,6 +1,7 @@ |
1 |
1 |
|
package org.litesoft.core.simpletypes; |
2 |
2 |
|
|
3 |
3 |
|
import org.litesoft.core.simpletypes.nonpublic.*; |
|
4 |
+ |
import org.litesoft.core.typeutils.*; |
4 |
5 |
|
import org.litesoft.core.util.*; |
5 |
6 |
|
|
6 |
7 |
|
public class TextFile extends EqualSupport implements SimpleType |
|
@@ -18,7 +19,7 @@ |
18 |
19 |
|
public TextFile( String pFileName, String... pLines ) |
19 |
20 |
|
{ |
20 |
21 |
|
mFileName = UtilsCommon.assertNotNullNotEmpty( "FileName", pFileName ); |
21 |
|
- |
mLines = new TextLines( UtilsCommon.assertNotNull( "Lines", pLines ) ); |
|
22 |
+ |
mLines = new TextLines( Objects.assertNotNull( "Lines", pLines ) ); |
22 |
23 |
|
} |
23 |
24 |
|
|
24 |
25 |
|
public String getFileName() |