mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-30 21:55:31 +02:00
Fixes warnings
This commit is contained in:
parent
ed4662692b
commit
6d99d620f3
2 changed files with 11 additions and 14 deletions
|
@ -7,6 +7,7 @@
|
|||
*
|
||||
* Contributors:
|
||||
* IBM Rational Software - Initial API and implementation
|
||||
* Markus Schorn (Wind River Systems)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.core;
|
||||
|
@ -15,16 +16,11 @@ package org.eclipse.cdt.core;
|
|||
* @author bgheorgh
|
||||
*/
|
||||
public interface ICLogConstants {
|
||||
public class LogConst{
|
||||
private LogConst( int value )
|
||||
{
|
||||
this.value = value;
|
||||
}
|
||||
private final int value;
|
||||
}
|
||||
|
||||
|
||||
public static final LogConst PDE = new LogConst( 1 );
|
||||
public static final LogConst CDT = new LogConst( 2 );
|
||||
|
||||
public class LogConst {
|
||||
private LogConst() {
|
||||
}
|
||||
}
|
||||
|
||||
public static final LogConst PDE = new LogConst();
|
||||
public static final LogConst CDT = new LogConst();
|
||||
}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
* Contributors:
|
||||
* IBM Corporation - initial API and implementation
|
||||
* QNX Software Systems - Initial API and implementation
|
||||
* Markus Schorn (Wind River Systems)
|
||||
*******************************************************************************/
|
||||
|
||||
package org.eclipse.cdt.internal.core;
|
||||
|
@ -26,8 +27,8 @@ import org.eclipse.core.runtime.CoreException;
|
|||
import org.eclipse.core.runtime.IPath;
|
||||
import org.eclipse.core.runtime.ISafeRunnable;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.eclipse.core.runtime.Platform;
|
||||
import org.eclipse.core.runtime.Preferences;
|
||||
import org.eclipse.core.runtime.SafeRunner;
|
||||
|
||||
|
||||
|
||||
|
@ -149,7 +150,7 @@ public class PathEntryVariableManager implements IPathEntryVariableManager {
|
|||
l.pathVariableChanged(pve);
|
||||
}
|
||||
};
|
||||
Platform.run(job);
|
||||
SafeRunner.run(job);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue