unixSocketProperties = unixSocketProperties == null ? new ArtifactProperties() : unixSocketProperties;
long fileCreationEventId = fileProperties.getCreationEventId();
long namedPipeCreationEventId = namedPipeProperties.getCreationEventId();
long unixSocketCreationEventId = namedPipeProperties.getCreationEventId();
if(fileCreationEventId >= namedPipeCreationEventId && fileCreationEventId >= unixSocketCreationEventId){ //always first because if all equals then we want file
<BUG>return fileIdentity;
</BUG>
}else if(namedPipeCreationEventId >= fileCreationEventId && namedPipeCreationEventId >= unixSocketCreationEventId) {
<BUG>return namedPipeIdentity;
</BUG>
}else if(unixSocketCreationEventId >= fileCreationEventId && unixSocketCreationEventId >= namedPipeCreationEventId){

unixSocketProperties = unixSocketProperties == null ? new ArtifactProperties() : unixSocketProperties;
long fileCreationEventId = fileProperties.getCreationEventId();
long namedPipeCreationEventId = namedPipeProperties.getCreationEventId();
long unixSocketCreationEventId = namedPipeProperties.getCreationEventId();
if(fileCreationEventId >= namedPipeCreationEventId && fileCreationEventId >= unixSocketCreationEventId){ //always first because if all equals then we want file
return fileIdentifier;
}else if(namedPipeCreationEventId >= fileCreationEventId && namedPipeCreationEventId >= unixSocketCreationEventId) {
return namedPipeIdentifier;
