File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ cleanAfterBumpingVersions() {
9999# # The API has significantly changed in Spring Boot 4.0.0-M3.
100100# # The entire Spring Boot auto-configuration for web applications has been restructured.
101101updateAppLayoutAfterNavigation () {
102-   find .  -name " *.java" " extends AppLayout" |  xargs grep -L  " extends AppLayoutElement " |  while  read  file;  do 
102+   find .  -name " *.java" " extends AppLayout" |  while  read  file;  do 
103103    #  Check if the file contains afterNavigation method
104104    if  grep -q " afterNavigation()" " $file " ;  then 
105105      [ -z  " $TEST " &&  warn " updating afterNavigation method in $file " ||  cmd " ## updating afterNavigation method in $file " 
@@ -359,4 +359,4 @@ patchMapper() {
359359    #  Replace IOException or Json.*Exception with Exception in the same file
360360    perl -pi -e ' s/catch \((IOException|Json[A-z]*Exception)/catch (Exception/g' " $file " 
361361  done 
362- }
362+ }
Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ moveQuarkusBomToBottom() {
100100
101101# # Find all java class files that extends AppLayouts and add @AnonymousAllowed
102102addAnonymousAllowedToAppLayout () {
103-   find .  -name " *.java" " extends AppLayout "   |  xargs grep -L  " extends AppLayoutElement " |  while  read  file;  do 
103+   find .  -name " *.java" " extends AppLayoutElement " |  while  read  file;  do 
104104    #  Insert the annotation above the class definition if not already present
105105    grep -q " com.vaadin.flow.server.auth.AnonymousAllowed" " $file " &&  continue 
106106    warn " adding AnonymousAllowed to $file " 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments