mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-19 23:15:24 +02:00
remove warnings.
This commit is contained in:
parent
017a326017
commit
c3e3d74edc
6 changed files with 9 additions and 9 deletions
|
@ -49,7 +49,7 @@ public class MakeScannerProvider extends ScannerProvider {
|
||||||
// Name we will use to store build property with the project
|
// Name we will use to store build property with the project
|
||||||
private static final QualifiedName scannerInfoProperty = new QualifiedName(MakeCorePlugin.getUniqueIdentifier(),
|
private static final QualifiedName scannerInfoProperty = new QualifiedName(MakeCorePlugin.getUniqueIdentifier(),
|
||||||
"makeBuildInfo"); //$NON-NLS-1$
|
"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 INCLUDE_PATH = "includePath"; //$NON-NLS-1$
|
||||||
public static final String PATH = "path"; //$NON-NLS-1$
|
public static final String PATH = "path"; //$NON-NLS-1$
|
||||||
|
@ -132,7 +132,7 @@ public class MakeScannerProvider extends ScannerProvider {
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void migrateToCPathEntries(MakeScannerInfo info) throws CoreException {
|
static void migrateToCPathEntries(MakeScannerInfo info) throws CoreException {
|
||||||
Map symbols = info.getDefinedSymbols();
|
Map symbols = info.getDefinedSymbols();
|
||||||
String[] includes = info.getIncludePaths();
|
String[] includes = info.getIncludePaths();
|
||||||
ICProject cProject = CoreModel.getDefault().create(info.getProject());
|
ICProject cProject = CoreModel.getDefault().create(info.getProject());
|
||||||
|
|
|
@ -377,7 +377,7 @@ public class BuildInfoFactory {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected String getString(String name) {
|
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() {
|
protected String getBuilderID() {
|
||||||
|
|
|
@ -38,7 +38,7 @@ public class MakeTarget extends PlatformObject implements IMakeTarget {
|
||||||
private IPath buildCommand;
|
private IPath buildCommand;
|
||||||
private boolean isDefaultBuildCmd;
|
private boolean isDefaultBuildCmd;
|
||||||
private boolean isStopOnError;
|
private boolean isStopOnError;
|
||||||
private boolean runAllBuidlers = true;
|
boolean runAllBuidlers = true;
|
||||||
private String targetBuilderID;
|
private String targetBuilderID;
|
||||||
private IContainer container;
|
private IContainer container;
|
||||||
|
|
||||||
|
|
|
@ -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_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 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 fWorkingDirectory;
|
||||||
private IPath fCompileCommand;
|
private IPath fCompileCommand;
|
||||||
|
|
|
@ -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$
|
public static IPath CONTAINER_ID = new Path("org.eclipse.cdt.make.core.DISCOVERED_SCANNER_INFO"); //$NON-NLS-1$
|
||||||
|
|
||||||
private final IProject fProject;
|
private final IProject fProject;
|
||||||
private static Map fgPathEntries;
|
static Map fgPathEntries;
|
||||||
|
|
||||||
public DiscoveredPathContainer(IProject project) {
|
public DiscoveredPathContainer(IProject project) {
|
||||||
fProject = project;
|
fProject = project;
|
||||||
|
|
|
@ -32,8 +32,8 @@ import org.eclipse.core.runtime.Platform;
|
||||||
*/
|
*/
|
||||||
public class CygpathTranslator {
|
public class CygpathTranslator {
|
||||||
IProject project;
|
IProject project;
|
||||||
private String orgPath;
|
String orgPath;
|
||||||
private String transPath;
|
String transPath;
|
||||||
|
|
||||||
public CygpathTranslator(IProject project, String path) {
|
public CygpathTranslator(IProject project, String path) {
|
||||||
this.project = project;
|
this.project = project;
|
||||||
|
@ -61,7 +61,7 @@ public class CygpathTranslator {
|
||||||
/**
|
/**
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
private String platformRun() {
|
String platformRun() {
|
||||||
CommandLauncher launcher = new CommandLauncher();
|
CommandLauncher launcher = new CommandLauncher();
|
||||||
launcher.showCommand(false);
|
launcher.showCommand(false);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue