core/com.nokia.carbide.cpp.sdk.core/src/com/nokia/carbide/cpp/internal/api/sdk/BuildContextSBSv2.java
branchC3_BUILDER_WORK
changeset 1477 f4dfa2236dcf
parent 1476 09e768e53db5
child 1478 69015f2143b2
equal deleted inserted replaced
1476:09e768e53db5 1477:f4dfa2236dcf
   311 			return false;
   311 			return false;
   312 		final BuildContextSBSv2 other = (BuildContextSBSv2) obj;
   312 		final BuildContextSBSv2 other = (BuildContextSBSv2) obj;
   313 		if (sbsv2Alias == null) {
   313 		if (sbsv2Alias == null) {
   314 			if (other.sbsv2Alias != null)
   314 			if (other.sbsv2Alias != null)
   315 				return false;
   315 				return false;
   316 		} else if (!sbsv2Alias.equals(other.sbsv2Alias))
   316 		} else if (!sbsv2Alias.equalsIgnoreCase(other.sbsv2Alias))
   317 			return false;
   317 			return false;
   318 		if (getSDK() == null) {
   318 		if (getSDK() == null) {
   319 			if (other.getSDK() != null)
   319 			if (other.getSDK() != null)
   320 				return false;
   320 				return false;
   321 		} else if (!getSDK().getEPOCROOT().equals(other.getSDK().getEPOCROOT()))
   321 		} else if (!getSDK().getEPOCROOT().equalsIgnoreCase(other.getSDK().getEPOCROOT()))
   322 			return false;
   322 			return false;
   323 		if (target == null) {
   323 		if (target == null) {
   324 			if (other.target != null)
   324 			if (other.target != null)
   325 				return false;
   325 				return false;
   326 		} else if (!target.equals(other.target)) {
   326 		} else if (!target.equalsIgnoreCase(other.target)) {
   327 			return false;
   327 			return false;
   328 		} else if (!configID.equals(other.configID)){
   328 		} else if (!configID.equalsIgnoreCase(other.configID)){
   329 			// TODO: Do we really need anything other than a config ID comparison?
   329 			// TODO: Do we really need anything other than a config ID comparison?
   330 			return false;
   330 			return false;
   331 		}
   331 		}
   332 		return true;
   332 		return true;
   333 	}
   333 	}