You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/01/01 16:05:03 UTC
[commons-beanutils] 01/05: Format tweak
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
commit 9d9c8e4bf6b753796738a00c85114a23e838f902
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Dec 28 11:09:35 2022 -0500
Format tweak
---
src/main/java/org/apache/commons/beanutils2/LazyDynaClass.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/beanutils2/LazyDynaClass.java b/src/main/java/org/apache/commons/beanutils2/LazyDynaClass.java
index ca52efd7..3bf08f7e 100644
--- a/src/main/java/org/apache/commons/beanutils2/LazyDynaClass.java
+++ b/src/main/java/org/apache/commons/beanutils2/LazyDynaClass.java
@@ -236,17 +236,17 @@ public class LazyDynaClass extends BasicDynaClass implements MutableDynaClass {
// Check if property already exists
if (propertiesMap.get(property.getName()) != null) {
- return;
+ return;
}
// Create a new property array with the specified property
final DynaProperty[] oldProperties = getDynaProperties();
- final DynaProperty[] newProperties = new DynaProperty[oldProperties.length+1];
+ final DynaProperty[] newProperties = new DynaProperty[oldProperties.length + 1];
System.arraycopy(oldProperties, 0, newProperties, 0, oldProperties.length);
newProperties[oldProperties.length] = property;
- // Update the properties
- setProperties(newProperties);
+ // Update the properties
+ setProperties(newProperties);
}
/**