Skip to content

Commit

Permalink
update: final val
Browse files Browse the repository at this point in the history
  • Loading branch information
muedsa committed Jun 4, 2021
1 parent 3ae61d4 commit c73ac07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/muedsa/intellij/textReader/composes/ReaderWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private void createUIComponents(){

searchTextField.getDocument().addDocumentListener(new DocumentAdapter() {

private List<searchThread> threadList = new ArrayList<>();
private final List<searchThread> threadList = new ArrayList<>();

private void search(String searchText){
if(StringUtils.isEmpty(searchText)){
Expand All @@ -181,7 +181,7 @@ protected void textChanged(@NotNull DocumentEvent documentEvent){

class searchThread extends Thread{
private boolean cancel = false;
private String searchText;
private final String searchText;

public searchThread(String searchText){
super();
Expand Down

0 comments on commit c73ac07

Please sign in to comment.