/*
- * Sone - RequestChangeFilter.java - Copyright © 2010–2016 David Roden
+ * Sone - RequestChangeFilter.java - Copyright © 2010–2019 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
String name = String.valueOf(parameters.get("name"));
String value = String.valueOf(parameters.get("value"));
- Map<String, String> values = new HashMap<String, String>();
+ Map<String, String> values = new HashMap<>();
Collection<String> parameterNames = request.getHttpRequest().getParameterNames();
for (String parameterName : parameterNames) {
values.put(parameterName, request.getHttpRequest().getParam(parameterName));