mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1240 - ENH: Add support for @Transactional skipCache and label
This commit is contained in:
1 parent
9a0b742f14
commit
07e2605a30
4 files changed
+24
-7
No files matched your search
@@ -62,7 +62,11 @@ class DProfileLocation implements ProfileLocation {
|
||||
}
|
||||
|
||||
private String withLineNumber(String traceLine) {
|
||||
if (lineNumber == 0 || traceLine.contains(":")) {
|
||||
if (lineNumber == 0) {
|
||||
return traceLine;
|
||||
} else if (traceLine.endsWith(":1)")) {
|
||||
return traceLine.substring(0, traceLine.length() - 3) + ":" + lineNumber + ")";
|
||||
} else if (traceLine.contains(":")) {
|
||||
return traceLine;
|
||||
} else {
|
||||
return traceLine.substring(0, traceLine.length() - 1) + ":" + lineNumber + ")";
|
||||
|
||||
Reference in new issue
Block a user