public SyncFile fetchByFilePathName(String filePathName)
throws SQLException {
Map<String, Object> fieldValues = new HashMap<>();
fieldValues.put("filePathName", filePathName);
List<SyncFile> syncFiles = queryForFieldValuesArgs(fieldValues);
<BUG>if ((syncFiles == null) || syncFiles.isEmpty()) {
return null;</BUG>
}
return syncFiles.get(0);
}

public SyncFile fetchByFilePathName(String filePathName)
throws SQLException {
Map<String, Object> fieldValues = new HashMap<>();
fieldValues.put("filePathName", filePathName);
List<SyncFile> syncFiles = queryForFieldValuesArgs(fieldValues);
if (syncFiles.isEmpty()) {
return null;
}
return syncFiles.get(0);
}
