Remove "final" keywords
Closes gh-11294
This commit is contained in:
committed by
Stephane Nicoll
parent
bd7bd6edc8
commit
6d54072e04
@@ -108,7 +108,7 @@ public class JarWriter implements LoaderClassesWriter, AutoCloseable {
|
||||
* @param manifest the manifest to write
|
||||
* @throws IOException of the manifest cannot be written
|
||||
*/
|
||||
public void writeManifest(final Manifest manifest) throws IOException {
|
||||
public void writeManifest(Manifest manifest) throws IOException {
|
||||
JarArchiveEntry entry = new JarArchiveEntry("META-INF/MANIFEST.MF");
|
||||
writeEntry(entry, manifest::write);
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ public final class SignalUtils {
|
||||
* Handle {@literal INT} signals by calling the specified {@link Runnable}.
|
||||
* @param runnable the runnable to call on SIGINT.
|
||||
*/
|
||||
public static void attachSignalHandler(final Runnable runnable) {
|
||||
public static void attachSignalHandler(Runnable runnable) {
|
||||
Signal.handle(SIG_INT, (signal) -> runnable.run());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user