Source:
<code>public @Nullable DiskRequest getRequestFrom(List<ITmfStateInterval> fullState, int quark) { Collection<Integer> quarks = this.getQuarks(); if (!quarks.contains(quark)) { throw new IllegalArgumentException(); } if (quark > fullState.size()) { return null; } ITmfStateInterval interval = fullState.get(quark); if (interval.getStateValue().isNull()) { return null; } RequestAttributes attributes = fSubAttributes.get(quark); if (attributes == null) { attributes = new RequestAttributes(getStateSystem(), quark); } long sector = fullState.get(attributes.getSectorAttr()).getStateValue().unboxLong(); int size = fullState.get(attributes.getSizeAttr()).getStateValue().unboxInt(); IoOperationType type = fullState.get(attributes.getTypeAttr()).getStateValue().equals(StateValues.READING_REQUEST_VALUE) ? IoOperationType.READ : IoOperationType.WRITE; int mergedInAttr = attributes.getMergedInAttr(); <START> int mergedIn = -1; <END> if (mergedInAttr != ITmfStateSystem.INVALID_ATTRIBUTE) { long queryTime = interval.getEndTime() + 1; ITmfStateSystem ss = getStateSystem(); if (queryTime <= ss.getCurrentEndTime()) { try { ITmfStateInterval mergedInInterval = ss.querySingleState(queryTime, mergedInAttr); mergedIn = mergedInInterval.getStateValue().unboxInt(); } catch (AttributeNotFoundException | StateSystemDisposedException e) { } } } int issuedFrom = (attributes.getIssuedFromAttr() != ITmfStateSystem.INVALID_ATTRIBUTE) ? fullState.get(attributes.getIssuedFromAttr()).getStateValue().unboxInt() : -1; return new DiskRequest(sector, size, type, mergedIn, issuedFrom, interval.getStartTime(), interval.getEndTime()); }</code><technical_language>this a constant compare certitude</technical_language>

Target:
public @Nullable DiskRequest getRequestFrom(List<ITmfStateInterval> fullState, int quark) { Collection<Integer> quarks = this.getQuarks(); if (!quarks.contains(quark)) { throw new IllegalArgumentException(); } if (quark > fullState.size()) { return null; } ITmfStateInterval interval = fullState.get(quark); if (interval.getStateValue().isNull()) { return null; } RequestAttributes attributes = fSubAttributes.get(quark); if (attributes == null) { attributes = RequestAttributes.createRequestAttributes(getStateSystem(), quark); if (attributes == null) { return null; } fSubAttributes.put(quark, attributes); } long sector = fullState.get(attributes.getSectorAttr()).getStateValue().unboxLong(); int size = fullState.get(attributes.getSizeAttr()).getStateValue().unboxInt(); IoOperationType type = fullState.get(attributes.getTypeAttr()).getStateValue().equals(StateValues.READING_REQUEST_VALUE) ? IoOperationType.READ : IoOperationType.WRITE; int mergedInAttr = attributes.getMergedInAttr(); int mergedIn = DiskRequest.NO_OTHER_REQUEST; if (mergedInAttr != ITmfStateSystem.INVALID_ATTRIBUTE) { long queryTime = interval.getEndTime() + 1; ITmfStateSystem ss = getStateSystem(); if (queryTime <= ss.getCurrentEndTime()) { try { ITmfStateInterval mergedInInterval = ss.querySingleState(queryTime, mergedInAttr); mergedIn = mergedInInterval.getStateValue().unboxInt(); } catch (AttributeNotFoundException | StateSystemDisposedException e) { Activator.getDefault().logWarning("Getting merged in value for request: A problem has happened that should not have happened: " + e.getMessage()); } } } int issuedFrom = (attributes.getIssuedFromAttr() != ITmfStateSystem.INVALID_ATTRIBUTE) ? fullState.get(attributes.getIssuedFromAttr()).getStateValue().unboxInt() : -1; return new DiskRequest(sector, size, type, mergedIn, issuedFrom, interval.getStartTime(), interval.getEndTime()); }