Permalink
Browse files

Merge branches 'hotfix-1.5.11' and 'master'

  • Loading branch information...
3 parents 26102ff + f445042 + 26102ff commit 3ae9e7252ca65d1fbfbedda5c87acd7943fec19a @nischal nischal committed Jan 15, 2012
Showing with 36 additions and 4 deletions.
  1. +1 −1 build.xml
  2. BIN dist/face4j-1.5.11.jar
  3. +3 −0 release.txt
  4. +32 −3 src/com/face4j/facebook/entity/Location.java
View
@@ -5,7 +5,7 @@
<property name="lib.dir" value="lib" />
<property name="build.dir" value="build" />
<property name="project.name" value="face4j" />
- <property name="project.version" value="1.5.10" />
+ <property name="project.version" value="1.5.11" />
<property name="dist.dir" value="dist" />
<property name="archive.name-face4j" value="face4j-${project.version}" />
<property name="exclude-classes" value="com/face4j/dummy/**,com/face4j/facebook/test/**"></property>
View
Binary file not shown.
View
@@ -79,3 +79,6 @@ version 0.4.1
13/01/2012
1.5.10
+
+15/01/2012
+1.5.11
@@ -13,6 +13,9 @@
private String state;
private String country;
private String zip;
+
+ private String latitude;
+ private String longitude;
public String getId() {
return id;
@@ -61,7 +64,33 @@ public String getZip() {
public void setZip(String zip) {
this.zip = zip;
}
-
-
-}
+ public Double getLatitude() {
+ if(this.latitude != null && !this.latitude.equals("")){
+ return Double.parseDouble(this.latitude);
+ }
+
+ return null;
+ }
+
+ public void setLatitude(Double latitude) {
+ if(latitude != null){
+ this.latitude = ""+latitude;
+ }
+ }
+
+ public Double getLongitude() {
+ if(this.longitude != null && !this.longitude.equals("")){
+ return Double.parseDouble(this.longitude);
+ }
+
+ return null;
+ }
+
+ public void setLongitude(Double longitude) {
+ if(longitude != null){
+ this.longitude = ""+longitude;
+ }
+ }
+
+}

0 comments on commit 3ae9e72

Please sign in to comment.