mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
minor fix, replace == for .equals
Change-Id: I26f949b64d1d5da0f410c76379d51f7edfcf9474
This commit is contained in:
parent
528de33113
commit
e3a5acb761
3 changed files with 3 additions and 3 deletions
|
@ -374,7 +374,7 @@ public class AutoconfTextHover implements ITextHover, ITextHoverExtension {
|
||||||
int parmCount = 0;
|
int parmCount = 0;
|
||||||
for (int k = 0; k < parmList.getLength(); ++k) {
|
for (int k = 0; k < parmList.getLength(); ++k) {
|
||||||
Node n3 = parmList.item(k);
|
Node n3 = parmList.item(k);
|
||||||
if (n3.getNodeName() == "parameter") { //$NON-NLS-1$
|
if (n3.getNodeName().equals("parameter")) { //$NON-NLS-1$
|
||||||
NamedNodeMap parmVals = n3.getAttributes();
|
NamedNodeMap parmVals = n3.getAttributes();
|
||||||
Node parmVal = parmVals.item(0);
|
Node parmVal = parmVals.item(0);
|
||||||
if (parmCount > 0)
|
if (parmCount > 0)
|
||||||
|
|
|
@ -4370,7 +4370,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 {
|
||||||
rcInfo = config.getResourceInfo(folderPath.removeLastSegments(1), false);
|
rcInfo = config.getResourceInfo(folderPath.removeLastSegments(1), false);
|
||||||
}
|
}
|
||||||
String targetExtension = ((IFolderInfo)rcInfo).getOutputExtension(srcExtension);
|
String targetExtension = ((IFolderInfo)rcInfo).getOutputExtension(srcExtension);
|
||||||
if (targetExtension != "") //$NON-NLS-1$
|
if (!targetExtension.equals("")) //$NON-NLS-1$
|
||||||
fileName += DOT + targetExtension;
|
fileName += DOT + targetExtension;
|
||||||
IPath projectRelativePath = deletedFile.getProjectRelativePath().removeLastSegments(1);
|
IPath projectRelativePath = deletedFile.getProjectRelativePath().removeLastSegments(1);
|
||||||
IPath targetFilePath = getBuildWorkingDir().append(projectRelativePath).append(fileName);
|
IPath targetFilePath = getBuildWorkingDir().append(projectRelativePath).append(fileName);
|
||||||
|
|
|
@ -1013,7 +1013,7 @@ public class ManagedBuildGnuToolInfo implements IManagedBuildGnuToolInfo {
|
||||||
if (outExtensionName != null) {
|
if (outExtensionName != null) {
|
||||||
OptDotExt = DOT + outExtensionName;
|
OptDotExt = DOT + outExtensionName;
|
||||||
} else
|
} else
|
||||||
if (tool.getOutputExtension(srcExtensionName) != "") //$NON-NLS-1$
|
if (!tool.getOutputExtension(srcExtensionName).equals("")) //$NON-NLS-1$
|
||||||
OptDotExt = DOT + tool.getOutputExtension(srcExtensionName);
|
OptDotExt = DOT + tool.getOutputExtension(srcExtensionName);
|
||||||
|
|
||||||
// create rule of the form
|
// create rule of the form
|
||||||
|
|
Loading…
Add table
Reference in a new issue