reschke commented on PR #1480:
URL: https://github.com/apache/jackrabbit-oak/pull/1480#issuecomment-2288816422

   Using...
   
   ~~~
   for i in $(grep -rl "Objects.requireNonNull" .) ; do num=$(grep "import 
static" $i | wc -l) ; [ $num -gt 1 ] && (grep "import static" $i > x1 ; sort x1 
> x2 ; cmp -s x1 x2 ||  ( diff -u x1 x2 | (grep -q "+import static 
java.util.Objects.requireNonNull") && (echo ; echo $num; echo ; echo $i ; echo 
; diff -u x1 x2 ))) ; done
   ~~~
   
   I identified files where the static imports now needed some reshuffling.
   
   Note that while doing this, I also found a case where the "new" import was 
already present, so we got a warning about duplicate imports.


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to