mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
StringBuffer.indexOf() 1.4.x only.
This commit is contained in:
parent
692b6647df
commit
dd873c7f2b
1 changed files with 3 additions and 2 deletions
|
@ -309,8 +309,9 @@ public class CDebugUtils
|
||||||
|
|
||||||
public static String getFunctionName( IFunction function )
|
public static String getFunctionName( IFunction function )
|
||||||
{
|
{
|
||||||
StringBuffer name = new StringBuffer( function.getElementName() );
|
String functionName = function.getElementName();
|
||||||
if ( name.indexOf( "::" ) != -1 )
|
StringBuffer name = new StringBuffer( functionName );
|
||||||
|
if ( functionName.indexOf( "::" ) != -1 )
|
||||||
{
|
{
|
||||||
String[] params = function.getParameterTypes();
|
String[] params = function.getParameterTypes();
|
||||||
name.append( '(' );
|
name.append( '(' );
|
||||||
|
|
Loading…
Add table
Reference in a new issue