Skip to content

Commit f58cddc

Browse files
Improve Javadoc
1 parent a65205c commit f58cddc

File tree

1 file changed

+10
-8
lines changed
  • cf-java-logging-support-core/src/main/java/com/sap/hcp/cf/logging/common/converter

1 file changed

+10
-8
lines changed

cf-java-logging-support-core/src/main/java/com/sap/hcp/cf/logging/common/converter/StacktraceLines.java

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ public int getTotalLineLength() {
2323
}
2424

2525
/**
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+
*/
3031
public List<String> getFirstLines(int firstSize) {
3132
int size = 0;
3233
int i = 0;
@@ -38,10 +39,11 @@ public List<String> getFirstLines(int firstSize) {
3839
}
3940

4041
/**
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+
*/
4547

4648
public List<String> getLastLines(int lastSize) {
4749
int size = 0;

0 commit comments

Comments
 (0)