From 62851d0af30cdb0c54046627585451a468aacd2a Mon Sep 17 00:00:00 2001 From: nickl- Date: Mon, 30 Oct 2017 20:37:23 +0200 Subject: Source walk/Spring clean/Parameterize/Enhance et.al. The following were applied during multiple itterations through the source. * Parameterize raw types. * Mark unused members. * Annotate override and deprecated methods. * Convert loops to enhance for loop. * Remove redundant else statements. * Widening collection type references. * Optimize code for improved readability. * Squash compiler warnings. * Identify smells. --- src/main/javassist/bytecode/BootstrapMethodsAttribute.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/javassist/bytecode/BootstrapMethodsAttribute.java') diff --git a/src/main/javassist/bytecode/BootstrapMethodsAttribute.java b/src/main/javassist/bytecode/BootstrapMethodsAttribute.java index 98268b87..94a0481f 100644 --- a/src/main/javassist/bytecode/BootstrapMethodsAttribute.java +++ b/src/main/javassist/bytecode/BootstrapMethodsAttribute.java @@ -108,7 +108,8 @@ public class BootstrapMethodsAttribute extends AttributeInfo { * @param classnames pairs of replaced and substituted * class names. */ - public AttributeInfo copy(ConstPool newCp, Map classnames) { + @Override + public AttributeInfo copy(ConstPool newCp, Map classnames) { BootstrapMethod[] methods = getMethods(); ConstPool thisCp = getConstPool(); for (int i = 0; i < methods.length; i++) { -- cgit v1.2.3