1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-04 06:45:43 +02:00

StringBuffer.indexOf() 1.4.x only.

This commit is contained in:
Alain Magloire 2003-04-14 17:57:47 +00:00
parent 692b6647df
commit dd873c7f2b

View file

@ -309,8 +309,9 @@ public class CDebugUtils
public static String getFunctionName( IFunction function )
{
StringBuffer name = new StringBuffer( function.getElementName() );
if ( name.indexOf( "::" ) != -1 )
String functionName = function.getElementName();
StringBuffer name = new StringBuffer( functionName );
if ( functionName.indexOf( "::" ) != -1 )
{
String[] params = function.getParameterTypes();
name.append( '(' );