Subversion Repository Public Repository

litesoft

Diff Revisions 50 vs 801 for /trunk/Java/core/Anywhere/src/org/litesoft/core/util/Problem.java

Diff revisions: vs.
  @@ -4,6 +4,8 @@
4 4 import java.io.*;
5 5 import java.util.*;
6 6
7 + import org.litesoft.core.typeutils.*;
8 +
7 9 public class Problem implements Serializable
8 10 {
9 11 private static final long serialVersionUID = 1L;
  @@ -91,8 +93,8 @@
91 93 */
92 94 public Problem( Throwable pThrowable, String pProblemCode, String[] pProblemSupportValues )
93 95 {
94 - pProblemCode = UtilsCommon.noEmpty( pProblemCode );
95 - pProblemSupportValues = UtilsCommon.noEmpty( pProblemSupportValues );
96 + pProblemCode = Strings.noEmpty( pProblemCode );
97 + pProblemSupportValues = Strings.noEmpty( pProblemSupportValues );
96 98 if ( (pThrowable == null) && (pProblemCode == null) )
97 99 {
98 100 throw new IllegalArgumentException( "Either the Throwable or the ProblemCode must not be null" );