mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
style: do not suppress this-escape (#5166)
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user