junichi11 opened a new pull request #2246:
URL: https://github.com/apache/netbeans/pull/2246


   https://issues.apache.org/jira/browse/NETBEANS-2981
   
   - Add `AnalysisDefaultDocumentListener` class to avoid duplicating code
   - Add `AnalysisUiUtils` class to avoid duplicating code (Browse and Search 
files)
   
   I added `AnalysisDefaultDocumentListener` class because there were many 
similar implementations of `DocumentListener`. I hope there are no problems.
   
   ### Scrrenshots
   #### Code Sniffer
   
   ##### Before
   
   
![netbeans-2981-code-sniffer-before](https://user-images.githubusercontent.com/738383/87151915-acc84600-c2ef-11ea-8339-efe5e6d29885.png)
   
   ##### After
   
   
![netbeans-2981-code-sniffer-after](https://user-images.githubusercontent.com/738383/87151948-bce02580-c2ef-11ea-9009-1a8fb339b4a2.png)
   
   #### CS Fixer
   
   ##### Before
   
   
![netbeans-2981-coding-standards-fixer-before](https://user-images.githubusercontent.com/738383/87152064-f6b12c00-c2ef-11ea-9af0-d53e372f424f.png)
   
   ##### After
   
   
![netbeans-2981-coding-standards-fixer-after](https://user-images.githubusercontent.com/738383/87152076-fd3fa380-c2ef-11ea-9f6b-10ad845785ac.png)
   
   #### Mess Detector
   
   ##### Before
   
   
![netbeans-2981-mess-detector-before](https://user-images.githubusercontent.com/738383/87152096-0466b180-c2f0-11ea-8ff4-964a4fde17c9.png)
   
   ##### After
   
   
![netbeans-2981-mess-detector-after](https://user-images.githubusercontent.com/738383/87152116-0fb9dd00-c2f0-11ea-83b1-88b11cd2c306.png)
   
   #### PHPStan
   
   ##### Before
   
   
![netbeans-2981-phpstan-before](https://user-images.githubusercontent.com/738383/87152129-16e0eb00-c2f0-11ea-8904-648e3ca43678.png)
   
   ##### After
   
   
![netbeans-2981-phpstan-after](https://user-images.githubusercontent.com/738383/87152146-2102e980-c2f0-11ea-818a-921cb96dcb6d.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to