Skip to content

chore: remove removeUnusedImports() rule #2996

chore: remove removeUnusedImports() rule

chore: remove removeUnusedImports() rule #2996

Triggered via pull request July 21, 2025 13:56
Status Cancelled
Total duration 7m 17s
Artifacts

main.yml

on: pull_request
Matrix Preparation
8s
Matrix Preparation
Error Prone (JDK 17)
5m 52s
Error Prone (JDK 17)
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 2 notices
21, corretto, same hashcode, windows, Pacific/Chatham, tr_TR, stress JIT
Execution failed for task ':src:components:autostyleJavaCheck'. > The following files have format violations: src\main\java\org\apache\jmeter\assertions\SizeAssertion.java @@ -1,308 +1,308 @@ -/*\r\n - * Licensed to the Apache Software Foundation (ASF) under one or more\r\n - * contributor license agreements. See the NOTICE file distributed with\r\n - * this work for additional information regarding copyright ownership.\r\n - * The ASF licenses this file to you under the Apache License, Version 2.0\r\n - * (the "License"); you may not use this file except in compliance with\r\n - * the License. You may obtain a copy of the License at\r\n - *\r\n - * http://www.apache.org/licenses/LICENSE-2.0\r\n - *\r\n - * Unless required by applicable law or agreed to in writing, software\r\n - * distributed under the License is distributed on an "AS IS" BASIS,\r\n - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n - * See the License for the specific language governing permissions and\r\n - * limitations under the License.\r\n - */\r\n -\r\n -package org.apache.jmeter.assertions;\r\n -\r\n -import java.io.Serializable;\r\n -import java.text.MessageFormat;\r\n -\r\n -import org.apache.jmeter.samplers.SampleResult;\r\n -import org.apache.jmeter.testelement.AbstractScopedAssertion;\r\n -import org.apache.jmeter.testelement.property.IntegerProperty;\r\n -import org.apache.jmeter.util.JMeterUtils;\r\n -\r\n -//@see org.apache.jmeter.assertions.SizeAssertionTest for unit tests\r\n -\r\n -/**\r\n - * Checks if the results of a Sample matches a particular size.\r\n - *\r\n - */\r\n -public class SizeAssertion extends AbstractScopedAssertion implements Serializable, Assertion {\r\n -\r\n - private static final long serialVersionUID = 241L;\r\n -\r\n - /**\r\n - * Comparison operators for size assertions\r\n - */\r\n - public enum ComparisonOperator {\r\n - EQUAL(1, "size_assertion_comparator_error_equal"),\r\n - NOTEQUAL(2, "size_assertion_comparator_error_notequal"),\r\n - GREATERTHAN(3, "size_assertion_comparator_error_greater"),\r\n - LESSTHAN(4, "size_assertion_comparator_error_less"),\r\n - GREATERTHANEQUAL(5, "size_assertion_comparator_error_greaterequal"),\r\n - LESSTHANEQUAL(6, "size_assertion_comparator_error_lessequal");\r\n -\r\n ... (568 more lines that didn't fit) You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10 -PminLinesPerFile=4 to see more violations Run './gradlew autostyleApply' to fix the violations.
21, corretto, same hashcode, windows, Pacific/Chatham, tr_TR, stress JIT: task ':src:components:autostyleJavaCheck'#L0
Execution failed for task ':src:components:autostyleJavaCheck': See 'What went wrong' below
21, corretto, same hashcode, windows, Pacific/Chatham, tr_TR, stress JIT: src\components\src\main\java\org\apache\jmeter\assertions\SizeAssertion.java#L1
Replace 308 lines 1..308 with /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.jmeter.assertions; import java.io.Serializable; ...288 more lines
21, oracle, windows, Pacific/Chatham, de_DE, stress JIT
Execution failed for task ':src:components:autostyleJavaCheck'. > The following files have format violations: src\main\java\org\apache\jmeter\assertions\SizeAssertion.java @@ -1,308 +1,308 @@ -/*\r\n - * Licensed to the Apache Software Foundation (ASF) under one or more\r\n - * contributor license agreements. See the NOTICE file distributed with\r\n - * this work for additional information regarding copyright ownership.\r\n - * The ASF licenses this file to you under the Apache License, Version 2.0\r\n - * (the "License"); you may not use this file except in compliance with\r\n - * the License. You may obtain a copy of the License at\r\n - *\r\n - * http://www.apache.org/licenses/LICENSE-2.0\r\n - *\r\n - * Unless required by applicable law or agreed to in writing, software\r\n - * distributed under the License is distributed on an "AS IS" BASIS,\r\n - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n - * See the License for the specific language governing permissions and\r\n - * limitations under the License.\r\n - */\r\n -\r\n -package org.apache.jmeter.assertions;\r\n -\r\n -import java.io.Serializable;\r\n -import java.text.MessageFormat;\r\n -\r\n -import org.apache.jmeter.samplers.SampleResult;\r\n -import org.apache.jmeter.testelement.AbstractScopedAssertion;\r\n -import org.apache.jmeter.testelement.property.IntegerProperty;\r\n -import org.apache.jmeter.util.JMeterUtils;\r\n -\r\n -//@see org.apache.jmeter.assertions.SizeAssertionTest for unit tests\r\n -\r\n -/**\r\n - * Checks if the results of a Sample matches a particular size.\r\n - *\r\n - */\r\n -public class SizeAssertion extends AbstractScopedAssertion implements Serializable, Assertion {\r\n -\r\n - private static final long serialVersionUID = 241L;\r\n -\r\n - /**\r\n - * Comparison operators for size assertions\r\n - */\r\n - public enum ComparisonOperator {\r\n - EQUAL(1, "size_assertion_comparator_error_equal"),\r\n - NOTEQUAL(2, "size_assertion_comparator_error_notequal"),\r\n - GREATERTHAN(3, "size_assertion_comparator_error_greater"),\r\n - LESSTHAN(4, "size_assertion_comparator_error_less"),\r\n - GREATERTHANEQUAL(5, "size_assertion_comparator_error_greaterequal"),\r\n - LESSTHANEQUAL(6, "size_assertion_comparator_error_lessequal");\r\n -\r\n ... (568 more lines that didn't fit) You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10 -PminLinesPerFile=4 to see more violations Run './gradlew autostyleApply' to fix the violations.
21, oracle, windows, Pacific/Chatham, de_DE, stress JIT: task ':src:components:autostyleJavaCheck'#L0
Execution failed for task ':src:components:autostyleJavaCheck': See 'What went wrong' below
21, oracle, windows, Pacific/Chatham, de_DE, stress JIT: src\components\src\main\java\org\apache\jmeter\assertions\SizeAssertion.java#L1
Replace 308 lines 1..308 with /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.jmeter.assertions; import java.io.Serializable; ...288 more lines
21, oracle, windows, Pacific/Chatham, tr_TR
Execution failed for task ':src:components:autostyleJavaCheck'. > The following files have format violations: src\main\java\org\apache\jmeter\assertions\SizeAssertion.java @@ -1,308 +1,308 @@ -/*\r\n - * Licensed to the Apache Software Foundation (ASF) under one or more\r\n - * contributor license agreements. See the NOTICE file distributed with\r\n - * this work for additional information regarding copyright ownership.\r\n - * The ASF licenses this file to you under the Apache License, Version 2.0\r\n - * (the "License"); you may not use this file except in compliance with\r\n - * the License. You may obtain a copy of the License at\r\n - *\r\n - * http://www.apache.org/licenses/LICENSE-2.0\r\n - *\r\n - * Unless required by applicable law or agreed to in writing, software\r\n - * distributed under the License is distributed on an "AS IS" BASIS,\r\n - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n - * See the License for the specific language governing permissions and\r\n - * limitations under the License.\r\n - */\r\n -\r\n -package org.apache.jmeter.assertions;\r\n -\r\n -import java.io.Serializable;\r\n -import java.text.MessageFormat;\r\n -\r\n -import org.apache.jmeter.samplers.SampleResult;\r\n -import org.apache.jmeter.testelement.AbstractScopedAssertion;\r\n -import org.apache.jmeter.testelement.property.IntegerProperty;\r\n -import org.apache.jmeter.util.JMeterUtils;\r\n -\r\n -//@see org.apache.jmeter.assertions.SizeAssertionTest for unit tests\r\n -\r\n -/**\r\n - * Checks if the results of a Sample matches a particular size.\r\n - *\r\n - */\r\n -public class SizeAssertion extends AbstractScopedAssertion implements Serializable, Assertion {\r\n -\r\n - private static final long serialVersionUID = 241L;\r\n -\r\n - /**\r\n - * Comparison operators for size assertions\r\n - */\r\n - public enum ComparisonOperator {\r\n - EQUAL(1, "size_assertion_comparator_error_equal"),\r\n - NOTEQUAL(2, "size_assertion_comparator_error_notequal"),\r\n - GREATERTHAN(3, "size_assertion_comparator_error_greater"),\r\n - LESSTHAN(4, "size_assertion_comparator_error_less"),\r\n - GREATERTHANEQUAL(5, "size_assertion_comparator_error_greaterequal"),\r\n - LESSTHANEQUAL(6, "size_assertion_comparator_error_lessequal");\r\n -\r\n ... (568 more lines that didn't fit) You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10 -PminLinesPerFile=4 to see more violations Run './gradlew autostyleApply' to fix the violations.
21, oracle, windows, Pacific/Chatham, tr_TR: task ':src:components:autostyleJavaCheck'#L0
Execution failed for task ':src:components:autostyleJavaCheck': See 'What went wrong' below
21, oracle, windows, Pacific/Chatham, tr_TR: src\components\src\main\java\org\apache\jmeter\assertions\SizeAssertion.java#L1
Replace 308 lines 1..308 with /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to you under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.jmeter.assertions; import java.io.Serializable; ...288 more lines
CI
Canceling since a higher priority waiting request for ci-main-refs/pull/6477/merge exists
17, temurin, same hashcode, macos, America/New_York, fr_FR, stress JIT
The operation was canceled.
17, temurin, same hashcode, macos, America/New_York, fr_FR, stress JIT
Canceling since a higher priority waiting request for ci-main-refs/pull/6477/merge exists
17, temurin, same hashcode, macos, America/New_York, fr_FR, stress JIT
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
17, temurin, same hashcode, macos, America/New_York, fr_FR, stress JIT
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520