File tree Expand file tree Collapse file tree
tests/org.eclipse.jface.tests/src/org/eclipse/jface/tests/images Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11/*******************************************************************************
2- * Copyright (c) 2020, 2022 Christoph Läubrich and others.
2+ * Copyright (c) 2020, 2026 Christoph Läubrich and others.
33 *
44 * This program and the accompanying materials
55 * are made available under the terms of the Eclipse Public License 2.0
@@ -161,7 +161,9 @@ public void testImageFileNameProviderGetxName_forFileURL_WhiteSpace() throws IOE
161161 File imageFile = new File (imageFolder , "image with spaces.png" );
162162 imageFile .createNewFile ();
163163
164- // This is an invalid URL because the whitespace characters are not properly encoded
164+ // This is an invalid URL because the whitespace characters are not properly
165+ // encoded
166+ @ SuppressWarnings ("deprecation" )
165167 URL imageFileURL = new URL ("file" , null , imageFile .getPath ());
166168 ImageDescriptor descriptor = ImageDescriptor .createFromURL (imageFileURL );
167169
You can’t perform that action at this time.
0 commit comments