Skip to content

chore: add .metals, .bloop, and .vscode to .gitignore

85464cc
Select commit
Loading
Failed to load commit list.
Merged

ci: fix nightly publishing on release/struts-6-8-x #1644

chore: add .metals, .bloop, and .vscode to .gitignore
85464cc
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 30, 2026 in 3m 56s

Quality Gate failed

Failed conditions
25 Security Hotspots
43.3% Coverage on New Code (required ≥ 80%)
3.3% Duplication on New Code (required ≤ 3%)
E Reliability Rating on New Code (required ≥ A)
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 1616 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/compiler/Validator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H0u2TD7gK2G53cns&open=AZ0-H0u2TD7gK2G53cns&pullRequest=1644

Check warning on line 50 in plugins/gxp/src/main/java/org/apache/struts2/views/gxp/AbstractGxp.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H3HATD7gK2G53dYc&open=AZ0-H3HATD7gK2G53dYc&pullRequest=1644

Check warning on line 71 in core/src/main/java/com/opensymphony/xwork2/config/providers/InterceptorBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "Interceptor"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HvhGTD7gK2G53bli&open=AZ0-HvhGTD7gK2G53bli&pullRequest=1644

Check warning on line 82 in plugins/portlet/src/test/java/org/apache/struts2/portlet/interceptor/PortletStateInterceptorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ActionInvocation"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H2NeTD7gK2G53dQa&open=AZ0-H2NeTD7gK2G53dQa&pullRequest=1644

Check warning on line 2751 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/compiler/Generator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this call to a deprecated method, it has been marked for removal.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H0lcTD7gK2G53chs&open=AZ0-H0lcTD7gK2G53chs&pullRequest=1644

Check warning on line 132 in core/src/main/java/com/opensymphony/xwork2/validator/DefaultActionValidatorManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-Hvb_TD7gK2G53bjv&open=AZ0-Hvb_TD7gK2G53bjv&pullRequest=1644

Check warning on line 254 in plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "removeStart"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H2roTD7gK2G53dUN&open=AZ0-H2roTD7gK2G53dUN&pullRequest=1644

Check warning on line 68 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/xmlparser/ParserUtils.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make validating a static final constant or non-public and provide accessors if needed.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H0ZiTD7gK2G53cZ0&open=AZ0-H0ZiTD7gK2G53cZ0&pullRequest=1644

Check warning on line 120 in plugins/embeddedjsp/src/main/java/org/apache/struts2/el/lang/ELArithmetic.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "Double" constructor

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H1dsTD7gK2G53dGv&open=AZ0-H1dsTD7gK2G53dGv&pullRequest=1644

Check failure on line 697 in core/src/main/java/com/opensymphony/xwork2/ognl/OgnlUtil.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 19 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HvK2TD7gK2G53bgQ&open=AZ0-HvK2TD7gK2G53bgQ&pullRequest=1644

Check warning on line 94 in core/src/main/java/com/opensymphony/xwork2/interceptor/ModelDrivenInterceptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Provide the parametrized type for this generic.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HvxDTD7gK2G53bob&open=AZ0-HvxDTD7gK2G53bob&pullRequest=1644

Check warning on line 445 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/runtime/JspContextWrapper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H08hTD7gK2G53cv0&open=AZ0-H08hTD7gK2G53cv0&pullRequest=1644

Check warning on line 146 in core/src/test/java/com/opensymphony/xwork2/interceptor/ModelDrivenInterceptorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ActionInvocation"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HzShTD7gK2G53cHD&open=AZ0-HzShTD7gK2G53cHD&pullRequest=1644

Check warning on line 970 in core/src/test/java/com/opensymphony/xwork2/config/providers/XmlConfigurationProviderTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-Hy6tTD7gK2G53b-A&open=AZ0-Hy6tTD7gK2G53b-A&pullRequest=1644

Check warning on line 3843 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/compiler/Generator.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the synchronized class "Hashtable" by an unsynchronized one such as "HashMap".

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H0lcTD7gK2G53cgn&open=AZ0-H0lcTD7gK2G53cgn&pullRequest=1644

Check warning on line 24 in core/src/main/java/org/apache/struts2/views/TagLibraryDirectiveProvider.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'javax.servlet.http.HttpServletResponse'.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HyGdTD7gK2G53b6L&open=AZ0-HyGdTD7gK2G53b6L&pullRequest=1644

Check warning on line 74 in bundles/admin/src/main/java/org/apache/struts2/osgi/admin/actions/BundlesAction.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Either re-interrupt this method or rethrow the "InterruptedException" that can be caught here.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H3ZITD7gK2G53dbv&open=AZ0-H3ZITD7gK2G53dbv&pullRequest=1644

Check failure on line 807 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/xmlparser/EncodingMap.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "Cp1047" 3 times.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H0UBTD7gK2G53cW0&open=AZ0-H0UBTD7gK2G53cW0&pullRequest=1644

Check warning on line 329 in plugins/embeddedjsp/src/test/java/org/apache/struts2/EmbeddedJSPResultTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ValueStack"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H1j5TD7gK2G53dIq&open=AZ0-H1j5TD7gK2G53dIq&pullRequest=1644

Check failure on line 32 in core/src/test/java/com/opensymphony/xwork2/TestBean.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-Hz9wTD7gK2G53cVm&open=AZ0-Hz9wTD7gK2G53cVm&pullRequest=1644

Check warning on line 40 in core/src/test/java/com/opensymphony/xwork2/interceptor/ParameterFilterInterceptorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "ValueStack"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HzNbTD7gK2G53cEY&open=AZ0-HzNbTD7gK2G53cEY&pullRequest=1644

Check warning on line 101 in plugins/portlet/src/main/java/org/apache/struts2/portlet/PortletConstants.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this field "ACTION_RESET" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H2KrTD7gK2G53dPX&open=AZ0-H2KrTD7gK2G53dPX&pullRequest=1644

Check warning on line 24 in core/src/main/java/com/opensymphony/xwork2/interceptor/ParametersInterceptor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add the missing @Deprecated annotation.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-Hv1UTD7gK2G53bpF&open=AZ0-Hv1UTD7gK2G53bpF&pullRequest=1644

Check warning on line 23 in core/src/test/java/com/opensymphony/xwork2/ActionContextThreadLocalTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'java.util.HashMap'.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-HzsPTD7gK2G53cPE&open=AZ0-HzsPTD7gK2G53cPE&pullRequest=1644

Check warning on line 598 in plugins/embeddedjsp/src/main/java/org/apache/struts2/jasper/runtime/JspRuntimeLibrary.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code in order to not assign to this loop counter from within the loop body.

See more on https://sonarcloud.io/project/issues?id=apache_struts&issues=AZ0-H0_mTD7gK2G53cx6&open=AZ0-H0_mTD7gK2G53cx6&pullRequest=1644