mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Code formatting edit
This commit is contained in:
parent
fa2d057c98
commit
52272757a0
1 changed files with 29 additions and 29 deletions
|
@ -67,41 +67,13 @@ public class Configuration extends BuildObject implements IConfiguration {
|
||||||
private String postbuildStep;
|
private String postbuildStep;
|
||||||
private String preannouncebuildStep;
|
private String preannouncebuildStep;
|
||||||
private String postannouncebuildStep;
|
private String postannouncebuildStep;
|
||||||
|
private String description;
|
||||||
// Miscellaneous
|
// Miscellaneous
|
||||||
private boolean isExtensionConfig = false;
|
private boolean isExtensionConfig = false;
|
||||||
private boolean isDirty = false;
|
private boolean isDirty = false;
|
||||||
private boolean rebuildNeeded = false;
|
private boolean rebuildNeeded = false;
|
||||||
private boolean resolved = true;
|
private boolean resolved = true;
|
||||||
|
|
||||||
private String description;
|
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IConfiguration#getDescription()
|
|
||||||
*/
|
|
||||||
public String getDescription() {
|
|
||||||
if (description == null) {
|
|
||||||
// If I have a parent, ask it
|
|
||||||
if (parent != null) {
|
|
||||||
return parent.getDescription();
|
|
||||||
} else {
|
|
||||||
// I'm it
|
|
||||||
return EMPTY_STRING;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
return description;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* (non-Javadoc)
|
|
||||||
* @see org.eclipse.cdt.core.build.managed.IConfiguration#setDescription(java.lang.String)
|
|
||||||
*/
|
|
||||||
public void setDescription(String description) {
|
|
||||||
if (description == null && this.description == null) return;
|
|
||||||
if (this.description == null || description == null || !description.equals(this.description)) {
|
|
||||||
this.description = description;
|
|
||||||
isDirty = true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* C O N S T R U C T O R S
|
* C O N S T R U C T O R S
|
||||||
|
@ -1008,6 +980,23 @@ public class Configuration extends BuildObject implements IConfiguration {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.cdt.core.build.managed.IConfiguration#getDescription()
|
||||||
|
*/
|
||||||
|
public String getDescription() {
|
||||||
|
if (description == null) {
|
||||||
|
// If I have a parent, ask it
|
||||||
|
if (parent != null) {
|
||||||
|
return parent.getDescription();
|
||||||
|
} else {
|
||||||
|
// I'm it
|
||||||
|
return EMPTY_STRING;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return description;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* (non-Javadoc)
|
* (non-Javadoc)
|
||||||
*
|
*
|
||||||
|
@ -1105,6 +1094,17 @@ public class Configuration extends BuildObject implements IConfiguration {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* (non-Javadoc)
|
||||||
|
* @see org.eclipse.cdt.core.build.managed.IConfiguration#setDescription(java.lang.String)
|
||||||
|
*/
|
||||||
|
public void setDescription(String description) {
|
||||||
|
if (description == null && this.description == null) return;
|
||||||
|
if (this.description == null || description == null || !description.equals(this.description)) {
|
||||||
|
this.description = description;
|
||||||
|
isDirty = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* (non-Javadoc)
|
/* (non-Javadoc)
|
||||||
* @see org.eclipse.cdt.managedbuilder.core.IConfiguration#setBuildArguments()
|
* @see org.eclipse.cdt.managedbuilder.core.IConfiguration#setBuildArguments()
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue