Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312853

Summary: Compiler warnings in I20100513-1500
Product: [Eclipse Project] Platform Reporter: Olivier Thomann <Olivier_Thomann>
Component: ResourcesAssignee: Szymon Brandys <Szymon.Brandys>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne, tomasz.zarna
Version: 3.6Flags: Olivier_Thomann: review+
tomasz.zarna: review+
Target Milestone: 3.6 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fix v01 none

Description Olivier Thomann CLA 2010-05-13 22:03:06 EDT
1. WARNING in /src/org/eclipse/core/tests/resources/NatureTest.java
 (at line 305)
Thread.currentThread().sleep(1000);
The static method sleep(long) from the type Thread should be accessed in a static way
Comment 1 Szymon Brandys CLA 2010-05-14 09:56:58 EDT
Created attachment 168539 [details]
Fix v01
Comment 2 Olivier Thomann CLA 2010-05-14 10:02:42 EDT
Patch looks good.
Comment 3 Tomasz Zarna CLA 2010-05-14 10:18:27 EDT
The fix is straightforward. +1.
Comment 4 John Arthorne CLA 2010-05-15 22:08:44 EDT
I released this patch.