Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/GWT_Sandbox/MultiModule/foundation/src/org/litesoft/sandbox/multimodule/foundation/client/support/PlacesSupport.java

Diff revisions: vs.
  @@ -5,12 +5,9 @@
5 5
6 6 import com.google.gwt.place.shared.*;
7 7
8 - public class PlacesSupport
9 - {
10 - public static Place createPlace( Places pPlace, Long pLuckyId )
11 - {
12 - switch ( pPlace )
13 - {
8 + public class PlacesSupport {
9 + public static Place createPlace( Places pPlace, Long pLuckyId ) {
10 + switch ( pPlace ) {
14 11 default:
15 12 case Home:
16 13 return new HomePlace();
  @@ -29,8 +26,7 @@
29 26 }
30 27 }
31 28
32 - public static Places deNull( Long pOrdinal, Places pDefault )
33 - {
29 + public static Places deNull( Long pOrdinal, Places pDefault ) {
34 30 return (pOrdinal == null) ? pDefault : Places.fromOrdinal( pOrdinal.intValue() );
35 31 }
36 32 }