8167117: insert missing final keywords

Reviewed-by: jlaskey, sundar
This commit is contained in:
Attila Szegedi 2016-10-06 16:27:47 +02:00
parent 9bf4e700fc
commit c86ac94029
58 changed files with 398 additions and 405 deletions

View file

@ -37,13 +37,13 @@ public class MissingMethodExample extends ArrayList
implements MissingMethodHandler {
@Override
public Object doesNotUnderstand(String name, Object... args) {
public Object doesNotUnderstand(final String name, final Object... args) {
// This simple doesNotUnderstand just prints method name and args.
// You can put useful method routing logic here.
System.out.println("you called " + name);
if (args.length != 0) {
System.out.println("arguments are: ");
for (Object arg : args) {
for (final Object arg : args) {
System.out.println(" " + arg);
}
}