|
|
|
@ -158,10 +158,10 @@ public class DefaultMethodSecurityExpressionHandler extends AbstractSecurityExpr |
|
|
|
filterTarget.addAll(retain); |
|
|
|
filterTarget.addAll(retain); |
|
|
|
return filterTarget; |
|
|
|
return filterTarget; |
|
|
|
} |
|
|
|
} |
|
|
|
catch (UnsupportedOperationException unsupportedOperationException) { |
|
|
|
catch (UnsupportedOperationException readonly) { |
|
|
|
this.logger.debug(LogMessage.format( |
|
|
|
this.logger.trace(LogMessage.format( |
|
|
|
"Collection threw exception: %s. Will return a new instance instead of mutating its state.", |
|
|
|
"Collection threw exception: %s. Will return a new instance instead of mutating its state.", |
|
|
|
unsupportedOperationException.getMessage())); |
|
|
|
readonly.getMessage())); |
|
|
|
return retain; |
|
|
|
return retain; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -204,10 +204,10 @@ public class DefaultMethodSecurityExpressionHandler extends AbstractSecurityExpr |
|
|
|
filterTarget.putAll(retain); |
|
|
|
filterTarget.putAll(retain); |
|
|
|
return filterTarget; |
|
|
|
return filterTarget; |
|
|
|
} |
|
|
|
} |
|
|
|
catch (UnsupportedOperationException unsupportedOperationException) { |
|
|
|
catch (UnsupportedOperationException readonly) { |
|
|
|
this.logger.debug(LogMessage.format( |
|
|
|
this.logger.trace(LogMessage.format( |
|
|
|
"Map threw exception: %s. Will return a new instance instead of mutating its state.", |
|
|
|
"Map threw exception: %s. Will return a new instance instead of mutating its state.", |
|
|
|
unsupportedOperationException.getMessage())); |
|
|
|
readonly.getMessage())); |
|
|
|
return retain; |
|
|
|
return retain; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|