Subversion Repository Public Repository

litesoft

Diff Revisions 712 vs 801 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/pavsupport/internal/PlaceIdExtractor.java

Diff revisions: vs.
  @@ -1,7 +1,7 @@
1 1 package org.litesoft.GWT.client.pavsupport.internal;
2 2
3 3 import org.litesoft.GWT.client.pavsupport.*;
4 - import org.litesoft.core.util.*;
4 + import org.litesoft.core.typeutils.*;
5 5
6 6 import com.google.gwt.place.shared.*;
7 7
  @@ -27,7 +27,7 @@
27 27 {
28 28 if ( pObject instanceof HasPlaceId )
29 29 {
30 - return UtilsCommon.noEmpty( ((HasPlaceId) pObject).getPlaceId() );
30 + return Strings.noEmpty( ((HasPlaceId) pObject).getPlaceId() );
31 31 }
32 32 if ( pObject == null )
33 33 {
  @@ -36,6 +36,6 @@
36 36 String s = "." + pObject.getClass().getName() + "$"; // find the String between the last '.' and the first '$'
37 37 s = s.substring( 0, s.indexOf( '$' ) );
38 38 s = s.substring( s.lastIndexOf( '.' ) );
39 - return !s.endsWith( "Place" ) ? null : UtilsCommon.noEmpty( s.substring( 0, s.length() - 5 ) );
39 + return !s.endsWith( "Place" ) ? null : Strings.noEmpty( s.substring( 0, s.length() - 5 ) );
40 40 }
41 41 }