From d22c98cde19b6176542ea30cc1df3269b7c55ca7 Mon Sep 17 00:00:00 2001 From: Alexander Kurtakov Date: Tue, 21 May 2019 07:21:20 +0300 Subject: Bug 547109 - [GTK] JVM crash when multiple processes were started and native libraries are missing Fix warning in nightly build - remove useless local variable. Change-Id: Ib7b9583aa3b28d7cb0a0834bb37d34506436dbbb --- .../Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java b/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java index 05b645444f..dbad2376d2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2018 IBM Corporation and others. + * Copyright (c) 2000, 2019 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -16,8 +16,7 @@ package org.eclipse.swt.internal; import java.io.*; import java.lang.reflect.*; import java.net.*; -import java.nio.file.Files; -import java.nio.file.StandardCopyOption; +import java.nio.file.*; import java.util.function.*; import java.util.jar.*; @@ -463,7 +462,6 @@ public static File findResource(String subDir, String resourceName, boolean mapR tempDir.mkdirs (); } - StringBuilder message = new StringBuilder(""); if (extract(file.getPath(), maybeSubDirPath + finalResourceName)) { if (file.exists()) { return file; -- cgit v1.2.3