I have the code below in an Android method. When I debug the code the value of callType is "upload_latest" and the value of uploaded_date (defined as long) is 1424286105554, but code execution bypasses the "return false" statement and goes straight to the string declaration below it. I know I've missed something obvious but can't work out what it is - can anyone help?
if (callType == "upload_latest" && uploaded_date > 0) {
return false;
}
String extension = "";