Remove "final" keywords

Closes gh-11294
This commit is contained in:
Johnny Lim
2017-12-08 22:29:03 +09:00
committed by Stephane Nicoll
parent bd7bd6edc8
commit 6d54072e04
48 changed files with 60 additions and 60 deletions

View File

@@ -126,7 +126,7 @@ public class LaunchedURLClassLoader extends URLClassLoader {
}
}
private void definePackage(final String className, final String packageName) {
private void definePackage(String className, String packageName) {
try {
AccessController.doPrivileged((PrivilegedExceptionAction<Object>) () -> {
String packageEntryName = packageName.replace('.', '/') + "/";

View File

@@ -228,7 +228,7 @@ public class JarFile extends java.util.jar.JarFile {
* @return a {@link JarFile} for the entry
* @throws IOException if the nested jar file cannot be read
*/
public synchronized JarFile getNestedJarFile(final ZipEntry entry)
public synchronized JarFile getNestedJarFile(ZipEntry entry)
throws IOException {
return getNestedJarFile((JarEntry) entry);
}

View File

@@ -348,7 +348,7 @@ public class PropertiesLauncherTests {
assertThat(timeout).as("Timed out waiting for (" + value + ")").isTrue();
}
private Condition<Archive> endingWith(final String value) {
private Condition<Archive> endingWith(String value) {
return new Condition<Archive>() {
@Override