style: do not suppress this-escape (#5166)

This commit is contained in:
Piotr Idzik
2024-05-20 18:09:23 +02:00
committed by GitHub
parent 324969fc4e
commit 8be8b953ab
6 changed files with 5 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ public class SegmentTree {
}
/* A function which will create the segment tree*/
public int constructTree(int[] arr, int start, int end, int index) {
public final int constructTree(int[] arr, int start, int end, int index) {
if (start == end) {
this.seg_t[index] = arr[start];
return arr[start];