1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

remove warnings.

This commit is contained in:
Alain Magloire 2004-08-27 01:50:58 +00:00
parent 017a326017
commit c3e3d74edc
6 changed files with 9 additions and 9 deletions

View file

@ -49,7 +49,7 @@ public class MakeScannerProvider extends ScannerProvider {
// Name we will use to store build property with the project
private static final QualifiedName scannerInfoProperty = new QualifiedName(MakeCorePlugin.getUniqueIdentifier(),
"makeBuildInfo"); //$NON-NLS-1$
private static final String CDESCRIPTOR_ID = MakeCorePlugin.getUniqueIdentifier() + ".makeScannerInfo"; //$NON-NLS-1$
static final String CDESCRIPTOR_ID = MakeCorePlugin.getUniqueIdentifier() + ".makeScannerInfo"; //$NON-NLS-1$
public static final String INCLUDE_PATH = "includePath"; //$NON-NLS-1$
public static final String PATH = "path"; //$NON-NLS-1$
@ -132,7 +132,7 @@ public class MakeScannerProvider extends ScannerProvider {
return info;
}
private static void migrateToCPathEntries(MakeScannerInfo info) throws CoreException {
static void migrateToCPathEntries(MakeScannerInfo info) throws CoreException {
Map symbols = info.getDefinedSymbols();
String[] includes = info.getIncludePaths();
ICProject cProject = CoreModel.getDefault().create(info.getProject());

View file

@ -377,7 +377,7 @@ public class BuildInfoFactory {
}
protected String getString(String name) {
return args.get(name) != null ? (String)args.get(name) : "";
return args.get(name) != null ? (String)args.get(name) : ""; //$NON-NLS-1$
}
protected String getBuilderID() {

View file

@ -38,7 +38,7 @@ public class MakeTarget extends PlatformObject implements IMakeTarget {
private IPath buildCommand;
private boolean isDefaultBuildCmd;
private boolean isStopOnError;
private boolean runAllBuidlers = true;
boolean runAllBuidlers = true;
private String targetBuilderID;
private IContainer container;

View file

@ -52,7 +52,7 @@ public class DefaultExternalScannerInfoProvider implements IExternalScannerInfoP
private static final String EXTERNAL_SI_PROVIDER_ERROR = "ExternalScannerInfoProvider.Provider_Error"; //$NON-NLS-1$
private static final String EXTERNAL_SI_PROVIDER_CONSOLE_ID = MakeCorePlugin.getUniqueIdentifier() + ".ExternalScannerInfoProviderConsole"; //$NON-NLS-1$
private static final String LANG_ENV_VAR = "LANG";
private static final String LANG_ENV_VAR = "LANG"; //$NON-NLS-1$
private IPath fWorkingDirectory;
private IPath fCompileCommand;

View file

@ -32,7 +32,7 @@ public class DiscoveredPathContainer implements IPathEntryContainer {
public static IPath CONTAINER_ID = new Path("org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO"); //$NON-NLS-1$
private final IProject fProject;
private static Map fgPathEntries;
static Map fgPathEntries;
public DiscoveredPathContainer(IProject project) {
fProject = project;

View file

@ -32,8 +32,8 @@ import org.eclipse.core.runtime.Platform;
*/
public class CygpathTranslator {
IProject project;
private String orgPath;
private String transPath;
String orgPath;
String transPath;
public CygpathTranslator(IProject project, String path) {
this.project = project;
@ -61,7 +61,7 @@ public class CygpathTranslator {
/**
* @return
*/
private String platformRun() {
String platformRun() {
CommandLauncher launcher = new CommandLauncher();
launcher.showCommand(false);