[ 
https://issues.apache.org/jira/browse/WW-5588?focusedWorklogId=992759&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-992759
 ]

ASF GitHub Bot logged work on WW-5588:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Nov/25 08:17
            Start Date: 21/Nov/25 08:17
    Worklog Time Spent: 10m 
      Work Description: sonarqubecloud[bot] commented on PR #1417:
URL: https://github.com/apache/struts/pull/1417#issuecomment-3561921443

   ## [![Quality Gate 
Failed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-failed-20px.png
 'Quality Gate 
Failed')](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1417) 
**Quality Gate failed**  
   Failed conditions  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/failed-16px.png
 '') [D Maintainability Rating on New 
Code](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1417) 
(required ≥ A)  
     
   [See analysis details on SonarQube 
Cloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1417)
   
   ##   
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/light_bulb-16px.png
 '') Catch issues before they fail your Quality Gate with our IDE extension 
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/sonarlint-16px.png
 '') [SonarQube for 
IDE](https://www.sonarsource.com/products/sonarlint/features/connected-mode/?referrer=pull-request)
   
   




Issue Time Tracking
-------------------

    Worklog Id:     (was: 992759)
    Time Spent: 20m  (was: 10m)

> Allow Preparable interface to work with only per-method prepare*() 
> implementations
> ----------------------------------------------------------------------------------
>
>                 Key: WW-5588
>                 URL: https://issues.apache.org/jira/browse/WW-5588
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently the {{Preparable}} interface requires implementing {{prepare()}} 
> even when using only per-method variants like {{prepareUpload()}} or 
> {{{}prepareEdit(){}}}.
> *Proposal*: Change {{prepare()}} to a default method with empty 
> implementation, allowing
> actions to implement only the specific {{prepare*()}} methods they need.
> _This is backward-compatible - existing implementations continue to work 
> unchanged._



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to