litesoft
Diff Revisions
939
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/pavsupport/IdPlace.java
|
@@ -4,35 +4,29 @@ |
4 |
4 |
|
|
5 |
5 |
|
import com.google.gwt.place.shared.*; |
6 |
6 |
|
|
7 |
|
- |
public abstract class IdPlace extends Place implements HasPlaceId |
8 |
|
- |
{ |
|
7 |
+ |
public abstract class IdPlace extends Place implements HasPlaceId { |
9 |
8 |
|
private String mPlaceId; |
10 |
9 |
|
|
11 |
|
- |
protected IdPlace( Object pPlaceId ) |
12 |
|
- |
{ |
|
10 |
+ |
protected IdPlace( Object pPlaceId ) { |
13 |
11 |
|
mPlaceId = Strings.assertNotNullNotEmpty( "PlaceId", pPlaceId.toString() ); |
14 |
12 |
|
} |
15 |
13 |
|
|
16 |
14 |
|
@Override |
17 |
|
- |
public String getPlaceId() |
18 |
|
- |
{ |
|
15 |
+ |
public String getPlaceId() { |
19 |
16 |
|
return mPlaceId; |
20 |
17 |
|
} |
21 |
18 |
|
|
22 |
19 |
|
@Override |
23 |
|
- |
public int hashCode() |
24 |
|
- |
{ |
|
20 |
+ |
public int hashCode() { |
25 |
21 |
|
return mPlaceId.hashCode(); |
26 |
22 |
|
} |
27 |
23 |
|
|
28 |
24 |
|
@Override |
29 |
|
- |
public boolean equals( Object other ) |
30 |
|
- |
{ |
|
25 |
+ |
public boolean equals( Object other ) { |
31 |
26 |
|
return (other == this) || ((other instanceof IdPlace) && equals( (IdPlace) other )); |
32 |
27 |
|
} |
33 |
28 |
|
|
34 |
|
- |
public boolean equals( IdPlace them ) |
35 |
|
- |
{ |
|
29 |
+ |
public boolean equals( IdPlace them ) { |
36 |
30 |
|
return (this == them) || ((them != null) && (this.mPlaceId.equals( them.mPlaceId ))); |
37 |
31 |
|
} |
38 |
32 |
|
} |