mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 08:46:02 +02:00
Minor adjustments to toString method.
This commit is contained in:
parent
2d4cd87741
commit
3798d2f015
1 changed files with 7 additions and 7 deletions
|
@ -260,11 +260,11 @@ class PDOMCPPFunction extends PDOMCPPBinding implements ICPPFunction, IPDOMOverl
|
|||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuffer result = new StringBuffer();
|
||||
result.append(getName()+" "+ASTTypeUtil.getParameterTypeString(getType())); //$NON-NLS-1$
|
||||
StringBuilder result = new StringBuilder();
|
||||
result.append(getName() + ASTTypeUtil.getParameterTypeString(getType()));
|
||||
try {
|
||||
result.append(" " + getConstantNameForValue(getLinkageImpl(), getNodeType())); //$NON-NLS-1$
|
||||
} catch(CoreException ce) {
|
||||
} catch (CoreException e) {
|
||||
result.append(" " + getNodeType()); //$NON-NLS-1$
|
||||
}
|
||||
return result.toString();
|
||||
|
|
Loading…
Add table
Reference in a new issue