File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
cf-java-logging-support-core/src/main/java/com/sap/hcp/cf/logging/common/converter Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,11 @@ public int getTotalLineLength() {
23
23
}
24
24
25
25
/**
26
- *
27
- * @param firstSize
28
- * @return the first part of the stacktrace of a given size
29
- */
26
+ * Extracts the first n lines of the given stacktrace
27
+ *
28
+ * @param firstSize the number of lines to retain from start of the stacktrace
29
+ * @return the first part of the stacktrace of the given size
30
+ */
30
31
public List <String > getFirstLines (int firstSize ) {
31
32
int size = 0 ;
32
33
int i = 0 ;
@@ -38,10 +39,11 @@ public List<String> getFirstLines(int firstSize) {
38
39
}
39
40
40
41
/**
41
- *
42
- * @param lastSize
43
- * @return the last part of the stacktrace of a given size
44
- */
42
+ * Extracts the last n lines of the given stacktrace
43
+ *
44
+ * @param lastSize the number of lines to retain at the and of the stacktrace
45
+ * @return the last part of the stacktrace of the given size
46
+ */
45
47
46
48
public List <String > getLastLines (int lastSize ) {
47
49
int size = 0 ;
You can’t perform that action at this time.
0 commit comments