Subversion Repository Public Repository

litesoft

Diff Revisions 820 vs 821 for /trunk/Java/core/Server/src/org/litesoft/textfiledirectory/TextFileDirectoryMemory.java

Diff revisions: vs.
  @@ -5,7 +5,6 @@
5 5 import org.litesoft.core.annotations.*;
6 6 import org.litesoft.core.simpletypes.*;
7 7 import org.litesoft.core.typeutils.*;
8 - import org.litesoft.core.util.*;
9 8
10 9 public class TextFileDirectoryMemory extends AbstractTextFileDirectory
11 10 {
  @@ -17,7 +16,7 @@
17 16
18 17 public TextFileDirectoryMemory( String pDirectory, boolean pExists )
19 18 {
20 - mDirectory = UtilsCommon.assertNotNullNotEmpty( "Directory", pDirectory );
19 + mDirectory = Strings.assertNotNullNotEmpty( "Directory", pDirectory );
21 20 mExists = pExists;
22 21 }
23 22
  @@ -88,7 +87,7 @@
88 87 public TextFile load( @NotNull String pFileName )
89 88 throws FileDoesNotExists
90 89 {
91 - return mFiles.get( assertExists( UtilsCommon.assertNotNullNotEmpty( "FileName", pFileName ) ) );
90 + return mFiles.get( assertExists( Strings.assertNotNullNotEmpty( "FileName", pFileName ) ) );
92 91 }
93 92
94 93 @Override
  @@ -116,7 +115,7 @@
116 115 public void delete( @NotNull String pFileName )
117 116 throws FileDoesNotExists
118 117 {
119 - LLdelete( UtilsCommon.assertNotNullNotEmpty( "FileName", pFileName ) );
118 + LLdelete( Strings.assertNotNullNotEmpty( "FileName", pFileName ) );
120 119 }
121 120
122 121 private void write( String pFileName, TextFile pTextFile )