Commit 98da3e5a authored by Kristof Szabados's avatar Kristof Szabados
Browse files

append char with char


Signed-off-by: Kristof Szabados's avatarkristof <Kristof.Szabados@ericsson.com>
parent 9c26f217
...@@ -21,14 +21,14 @@ public final class DebugUtils { ...@@ -21,14 +21,14 @@ public final class DebugUtils {
for (int i = depth+1 > stackTrace.length - 1 ? stackTrace.length - 1 : depth+1;i > 1; i--) { for (int i = depth+1 > stackTrace.length - 1 ? stackTrace.length - 1 : depth+1;i > 1; i--) {
final String[] classPath = stackTrace[i].getClassName().split("\\."); final String[] classPath = stackTrace[i].getClassName().split("\\.");
if (classPath.length > 0) { if (classPath.length > 0) {
builder.append(classPath[classPath.length -1]).append(":"); builder.append(classPath[classPath.length -1]).append(':');
} }
builder.append(stackTrace[i].getMethodName()); builder.append(stackTrace[i].getMethodName());
if (i>2) { if (i>2) {
builder.append(" -> "); builder.append(" -> ");
} }
} }
builder.append(")"); builder.append(')');
return builder.toString(); return builder.toString();
} }
......
...@@ -190,7 +190,7 @@ public abstract class ExternalTitanAction extends AbstractHandler implements IWo ...@@ -190,7 +190,7 @@ public abstract class ExternalTitanAction extends AbstractHandler implements IWo
IPreferencesService prefs = Platform.getPreferencesService(); IPreferencesService prefs = Platform.getPreferencesService();
if (prefs.getBoolean(ProductConstants.PRODUCT_ID_DESIGNER, PreferenceConstants.TITANACTIONS_DEFAULT_AS_OMIT, false, null)) { if (prefs.getBoolean(ProductConstants.PRODUCT_ID_DESIGNER, PreferenceConstants.TITANACTIONS_DEFAULT_AS_OMIT, false, null)) {
builder.append("d"); builder.append('d');
} }
return builder.toString(); return builder.toString();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment