Skip to content
Snippets Groups Projects
Commit aa20dd12 authored by Johannes Mey's avatar Johannes Mey
Browse files

print only first line of relation target (which gets printed by toString())

parent bfc69285
Branches
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ aspect Debugging { ...@@ -14,7 +14,7 @@ aspect Debugging {
} else { } else {
name += ":= "; name += ":= ";
} }
result += "|--" + name + method.invoke(this); result += "|--" + name + method.invoke(this).toString().split("\\r?\\n")[0];
} catch (IllegalAccessException e) { } catch (IllegalAccessException e) {
e.printStackTrace(); e.printStackTrace();
} catch (java.lang.reflect.InvocationTargetException e) { } catch (java.lang.reflect.InvocationTargetException e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment