NSW police can learn from the example set by police in Queensland to prevent a repeat of Monday’s violence.