mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +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:
|
* Contributors:
|
||||||
* IBM Rational Software - Initial API and implementation
|
* IBM Rational Software - Initial API and implementation
|
||||||
|
* Markus Schorn (Wind River Systems)
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.cdt.core;
|
package org.eclipse.cdt.core;
|
||||||
|
@ -15,16 +16,11 @@ package org.eclipse.cdt.core;
|
||||||
* @author bgheorgh
|
* @author bgheorgh
|
||||||
*/
|
*/
|
||||||
public interface ICLogConstants {
|
public interface ICLogConstants {
|
||||||
public class LogConst{
|
public class LogConst {
|
||||||
private LogConst( int value )
|
private LogConst() {
|
||||||
{
|
}
|
||||||
this.value = value;
|
}
|
||||||
}
|
|
||||||
private final int value;
|
public static final LogConst PDE = new LogConst();
|
||||||
}
|
public static final LogConst CDT = new LogConst();
|
||||||
|
|
||||||
|
|
||||||
public static final LogConst PDE = new LogConst( 1 );
|
|
||||||
public static final LogConst CDT = new LogConst( 2 );
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* IBM Corporation - initial API and implementation
|
* IBM Corporation - initial API and implementation
|
||||||
* QNX Software Systems - Initial API and implementation
|
* QNX Software Systems - Initial API and implementation
|
||||||
|
* Markus Schorn (Wind River Systems)
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.cdt.internal.core;
|
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.IPath;
|
||||||
import org.eclipse.core.runtime.ISafeRunnable;
|
import org.eclipse.core.runtime.ISafeRunnable;
|
||||||
import org.eclipse.core.runtime.Path;
|
import org.eclipse.core.runtime.Path;
|
||||||
import org.eclipse.core.runtime.Platform;
|
|
||||||
import org.eclipse.core.runtime.Preferences;
|
import org.eclipse.core.runtime.Preferences;
|
||||||
|
import org.eclipse.core.runtime.SafeRunner;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -149,7 +150,7 @@ public class PathEntryVariableManager implements IPathEntryVariableManager {
|
||||||
l.pathVariableChanged(pve);
|
l.pathVariableChanged(pve);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Platform.run(job);
|
SafeRunner.run(job);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue