litesoft
Diff Revisions
803
vs
804
for /trunk/Java/core/Server/src/org/litesoft/configuration/ConfigAccessorFactoryProperties.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 ConfigAccessorFactoryProperties implements ConfigAccessorFactory |
|
@@ -18,9 +19,9 @@ |
18 |
19 |
|
public ConfigDataAccessor create( String pLoadedFromDirectory, String pLoadedFromName, InputStream pInputStream ) |
19 |
20 |
|
throws IOException |
20 |
21 |
|
{ |
21 |
|
- |
Utils.assertNotNull( "LoadedFromDirectory", pLoadedFromDirectory ); |
22 |
|
- |
Utils.assertNotNull( "LoadedFromName", pLoadedFromName ); |
23 |
|
- |
Utils.assertNotNull( "InputStream", pInputStream ); |
|
22 |
+ |
Objects.assertNotNull( "LoadedFromDirectory", pLoadedFromDirectory ); |
|
23 |
+ |
Objects.assertNotNull( "LoadedFromName", pLoadedFromName ); |
|
24 |
+ |
Objects.assertNotNull( "InputStream", pInputStream ); |
24 |
25 |
|
Properties props = new Properties(); |
25 |
26 |
|
props.load( pInputStream ); |
26 |
27 |
|
|