Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2019-05-21 04:21:20 +0000
committerAlexander Kurtakov2019-05-21 04:21:20 +0000
commitd22c98cde19b6176542ea30cc1df3269b7c55ca7 (patch)
tree290826a335218dc9f20f00929729e0bfdead760c
parent91f47a137f2a41a9cccacaf0ff44b693673c6754 (diff)
downloadeclipse.platform.swt-d22c98cde19b6176542ea30cc1df3269b7c55ca7.tar.gz
eclipse.platform.swt-d22c98cde19b6176542ea30cc1df3269b7c55ca7.tar.xz
eclipse.platform.swt-d22c98cde19b6176542ea30cc1df3269b7c55ca7.zip
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
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/common/org/eclipse/swt/internal/Library.java6
1 files 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;

Back to the top