litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/pavment/IdPlace.java
|
@@ -1,13 +1,12 @@ |
1 |
1 |
|
package com.temp.client.foundation.pavment; |
2 |
2 |
|
|
3 |
|
- |
import com.temp.shared.utils.ObjectUtils; |
4 |
|
- |
|
5 |
3 |
|
import com.google.gwt.place.shared.*; |
|
4 |
+ |
import com.temp.shared.utils.*; |
6 |
5 |
|
|
7 |
6 |
|
public abstract class IdPlace extends Place implements HasPlaceId { |
8 |
7 |
|
private String mPlaceId; |
9 |
8 |
|
|
10 |
|
- |
protected IdPlace(Object pPlaceId) { |
|
9 |
+ |
protected IdPlace( Object pPlaceId ) { |
11 |
10 |
|
mPlaceId = pPlaceId.toString(); |
12 |
11 |
|
} |
13 |
12 |
|
|
|
@@ -22,14 +21,14 @@ |
22 |
21 |
|
} |
23 |
22 |
|
|
24 |
23 |
|
@Override |
25 |
|
- |
public final boolean equals(Object obj) { |
|
24 |
+ |
public final boolean equals( Object obj ) { |
26 |
25 |
|
return (this == obj) || ((obj != null) && // |
27 |
|
- |
this.getClass().equals(obj.getClass()) && // |
28 |
|
- |
ObjectUtils.areEqual(this.mPlaceId, ((IdPlace) obj).mPlaceId) && // |
29 |
|
- |
subFieldsEqual(obj)); |
|
26 |
+ |
this.getClass().equals( obj.getClass() ) && // |
|
27 |
+ |
ObjectUtils.areEqual( this.mPlaceId, ((IdPlace) obj).mPlaceId ) && // |
|
28 |
+ |
subFieldsEqual( obj )); |
30 |
29 |
|
} |
31 |
30 |
|
|
32 |
|
- |
protected boolean subFieldsEqual(Object obj) { |
|
31 |
+ |
protected boolean subFieldsEqual( Object obj ) { |
33 |
32 |
|
return true; |
34 |
33 |
|
} |
35 |
34 |
|
} |