Replaced @SuppressWarnings() statement (turns out it was needed after all)
built project