AnomalyDetection.java formatting updated