Subversion Repository Public Repository

litesoft

Diff Revisions 808 vs 809 for /trunk/Java/core/Anywhere/src/org/litesoft/core/util/SimpleMessage.java

Diff revisions: vs.
  @@ -3,6 +3,8 @@
3 3
4 4 import java.util.*;
5 5
6 + import org.litesoft.core.typeutils.*;
7 +
6 8 /**
7 9 * SimpleMessage is similar to MessageFormat in that it utilizes {} to identify the substitution positions
8 10 * and index of the parameters. It differs in that nothing but simple indexes are supported and if no substitutions
  @@ -64,7 +66,7 @@
64 66 @Override
65 67 public String format( Object[] pParameters )
66 68 {
67 - if ( UtilsCommon.isNullOrEmpty( pParameters ) )
69 + if ( Objects.isNullOrEmpty( pParameters ) )
68 70 {
69 71 return mPattern;
70 72 }