Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312853 - Compiler warnings in I20100513-1500
Summary: Compiler warnings in I20100513-1500
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 RC2   Edit
Assignee: Szymon Brandys CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-13 22:03 EDT by Olivier Thomann CLA
Modified: 2010-05-15 22:08 EDT (History)
2 users (show)

See Also:
Olivier_Thomann: review+
tomasz.zarna: review+


Attachments
Fix v01 (802 bytes, patch)
2010-05-14 09:56 EDT, Szymon Brandys CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.