litesoft
Diff Revisions
49
vs
802
for /trunk/Java/core/Anywhere/src/org/litesoft/core/util/ExternalizationHelper.java
|
@@ -1,13 +1,15 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.core.util; |
3 |
3 |
|
|
|
4 |
+ |
import org.litesoft.core.typeutils.*; |
|
5 |
+ |
|
4 |
6 |
|
public class ExternalizationHelper |
5 |
7 |
|
{ |
6 |
8 |
|
public static final String NO_AUTO_ADD_PARAMS = "" + SimpleMessage.START_SUB + SimpleMessage.END_SUB; |
7 |
9 |
|
|
8 |
10 |
|
public static String injectParameters( String pResolved, Object... pParameters ) |
9 |
11 |
|
{ |
10 |
|
- |
pResolved = UtilsCommon.deNull( pResolved ); |
|
12 |
+ |
pResolved = Strings.deNull( pResolved ); |
11 |
13 |
|
if ( -1 == pResolved.indexOf( SimpleMessage.START_SUB ) ) |
12 |
14 |
|
{ |
13 |
15 |
|
if ( UtilsCommon.isNotNullOrEmpty( pParameters ) ) |