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

Bug 458362

Summary: 12 compile warnings in official build
Product: [Eclipse Project] Platform Reporter: Dani Megert <daniel_megert>
Component: SWTAssignee: Niraj Modi <niraj.modi>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: markus.kell.r, niraj.modi
Version: 4.5   
Target Milestone: 4.5 M5   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on:    
Bug Blocks: 435384    

Description Dani Megert CLA 2015-01-25 12:22:10 EST
N20150124-1500.

12 compile warnings in official build.

http://download.eclipse.org/eclipse/downloads/drops4/N20150124-1500/testResults.php

1. WARNING in /src/org/eclipse/swt/graphics/Color.java
 (at line 14)
import org.eclipse.swt.graphics.*;
The import org.eclipse.swt.graphics is never used
Comment 1 Dani Megert CLA 2015-01-25 12:24:28 EST
The same changes also introduce the following Javadoc problem:

http://download.eclipse.org/eclipse/downloads/drops4/N20150124-1500/compilelogs/platform.doc.isv.javadoc.txt

../../../eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/RGBA.java:110: warning - Tag @see: can't find RGBA(float, float, float, int) in org.eclipse.swt.graphics.RGBA
1 warning
Comment 2 Markus Keller CLA 2015-01-26 18:19:06 EST
Problems have been fixed via commits that mention bug 435384.

*** This bug has been marked as a duplicate of bug 435384 ***
Comment 3 Niraj Modi CLA 2015-01-27 00:37:05 EST
(In reply to Dani Megert from comment #0)
> N20150124-1500.
> 
> 12 compile warnings in official build.
> 
> http://download.eclipse.org/eclipse/downloads/drops4/N20150124-1500/
> testResults.php
> 
> 1. WARNING in /src/org/eclipse/swt/graphics/Color.java
>  (at line 14)
> import org.eclipse.swt.graphics.*;
> The import org.eclipse.swt.graphics is never used

Removed the unused import from the GTK Color class via below git commit:
http://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=942ec679a976f688d77e8b46890c2911dc6ed10b

In next Nightly/I-build, these warnings will be resolved.
Comment 4 Niraj Modi CLA 2015-01-28 00:49:18 EST
Verified in today's I-Build:
http://download.eclipse.org/eclipse/downloads/drops4/I20150127-0900/testResults.php