@@ -52,17 +52,17 @@ public void mouseClicked(MouseEvent e) {
5252
5353 @ Override
5454 public void mousePressed (MouseEvent e ) {
55-
55+ //UnNeeded
5656 }
5757
5858 @ Override
5959 public void mouseReleased (MouseEvent e ) {
60-
60+ //UnNeeded
6161 }
6262
6363 @ Override
6464 public void mouseEntered (MouseEvent e ) {
65-
65+ //UnNeeded
6666 }
6767
6868 @ Override
@@ -87,12 +87,12 @@ public void keyTyped(KeyEvent e) {
8787
8888 @ Override
8989 public void keyPressed (KeyEvent e ) {
90-
90+ //UnNeeded
9191 }
9292
9393 @ Override
9494 public void keyReleased (KeyEvent e ) {
95-
95+ //UnNeeded
9696 }
9797 });
9898 searchButton .addActionListener (e -> {
@@ -149,19 +149,15 @@ private void searchRepeaterTabsForString(String search) {
149149 for ( int i =0 ; i < repeaterTabs .getTabCount ()-1 ; i ++) {
150150 try {
151151 if ( searchRequestForText ) {
152- System .out .println ("Searching request" );
153152 JTextArea requestTextArea =
154153 BurpGuiControl .getRepeaterTabRequestTextArea ((Container ) repeaterTabs .getComponentAt (i ));
155154 if (searchTextArea (search ,requestTextArea ) ) {
156- System .out .println ("Found in request" );
157155 repeaterTabs .setBackgroundAt (i ,new Color (0xff6633 ));
158156 }
159157 } else if ( searchResponseForText ) {
160- System .out .println ("Searching response" );
161158 JTextArea responseTextArea =
162159 BurpGuiControl .getRepeaterTabResponseTextArea ((Container ) repeaterTabs .getComponentAt (i ));
163160 if (searchTextArea (search , responseTextArea )) {
164- System .out .println ("Found in response" );
165161 repeaterTabs .setBackgroundAt (i ,new Color (0xff6633 ));
166162 }
167163 }
@@ -173,14 +169,12 @@ private void searchRepeaterTabsForString(String search) {
173169
174170 private boolean searchTextArea (String search , JTextArea textArea ) {
175171 if (useRegex ) {
176- System .out .println ("Using regex" );
177172 Pattern pattern = Pattern .compile (search ,Pattern .MULTILINE );
178173 Matcher matcher = pattern .matcher (textArea .getText ());
179174 return matcher .find ();
180175 } else {
181- System .out .println ("Using string matching" );
182176 return textArea .getText ().contains (search );
183177 }
184178 }
185179
186- }
180+ }
0 commit comments