This is an automated email from the ASF dual-hosted git repository.

garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git


The following commit(s) were added to refs/heads/master by this push:
     new 8d9a52a7 Reduce vertical whitespace.
8d9a52a7 is described below

commit 8d9a52a73a4cdba81797a4052ac2fc58a8034b73
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jul 27 14:40:44 2026 +0000

    Reduce vertical whitespace.
---
 .../java/org/apache/commons/beanutils2/DynaPropertyTest.java | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/src/test/java/org/apache/commons/beanutils2/DynaPropertyTest.java 
b/src/test/java/org/apache/commons/beanutils2/DynaPropertyTest.java
index e80e87f0..1889b883 100644
--- a/src/test/java/org/apache/commons/beanutils2/DynaPropertyTest.java
+++ b/src/test/java/org/apache/commons/beanutils2/DynaPropertyTest.java
@@ -14,6 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+
 package org.apache.commons.beanutils2;
 
 import static org.junit.jupiter.api.Assertions.assertEquals;
@@ -31,9 +32,13 @@ import org.junit.jupiter.api.Test;
 class DynaPropertyTest {
 
     private DynaProperty testPropertyWithName;
+
     private DynaProperty testProperty1Duplicate;
+
     private DynaProperty testPropertyWithNameAndType;
+
     private DynaProperty testProperty2Duplicate;
+
     private DynaProperty testPropertyWithNameAndTypeAndContentType;
 
     private DynaProperty testProperty3Duplicate;
@@ -43,13 +48,10 @@ class DynaPropertyTest {
      */
     @BeforeEach
     protected void setUp() throws Exception {
-
         testPropertyWithName = new DynaProperty("test1");
         testProperty1Duplicate = new DynaProperty("test1");
-
         testPropertyWithNameAndType = new DynaProperty("test2", Integer.class);
         testProperty2Duplicate = new DynaProperty("test2", Integer.class);
-
         testPropertyWithNameAndTypeAndContentType = new DynaProperty("test3", 
Collection.class, Short.class);
         testProperty3Duplicate = new DynaProperty("test3", Collection.class, 
Short.class);
     }
@@ -59,7 +61,6 @@ class DynaPropertyTest {
      */
     @AfterEach
     protected void tearDown() throws Exception {
-
         testPropertyWithName = testProperty1Duplicate = null;
         testPropertyWithNameAndType = testProperty2Duplicate = null;
         testPropertyWithNameAndTypeAndContentType = testProperty3Duplicate = 
null;
@@ -70,7 +71,6 @@ class DynaPropertyTest {
      */
     @Test
     void testEqualsObject() {
-
         assertEquals(testPropertyWithName, testProperty1Duplicate);
         assertEquals(testPropertyWithNameAndType, testProperty2Duplicate);
         assertEquals(testPropertyWithNameAndTypeAndContentType, 
testProperty3Duplicate);
@@ -84,12 +84,10 @@ class DynaPropertyTest {
      */
     @Test
     void testHashCode() {
-
         final int initialHashCode = 
testPropertyWithNameAndTypeAndContentType.hashCode();
         assertEquals(testPropertyWithName.hashCode(), 
testProperty1Duplicate.hashCode());
         assertEquals(testPropertyWithNameAndType.hashCode(), 
testProperty2Duplicate.hashCode());
         assertEquals(testPropertyWithNameAndTypeAndContentType.hashCode(), 
testProperty3Duplicate.hashCode());
         assertEquals(initialHashCode, 
testPropertyWithNameAndTypeAndContentType.hashCode());
     }
-
 }

Reply via email to