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 2024/08/18 12:49:29 UTC
(commons-beanutils) 18/32: Remove trailing whitespace
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch 1.X
in repository https://gitbox.apache.org/repos/asf/commons-beanutils.git
commit 486e418c2731e8e79ad2befc08c8a585cb87054c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Aug 18 08:44:17 2024 -0400
Remove trailing whitespace
---
src/main/java/org/apache/commons/beanutils/LazyDynaMap.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java b/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
index 9bed82f6..ada1191d 100644
--- a/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
+++ b/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
@@ -333,13 +333,13 @@ public class LazyDynaMap extends LazyDynaBean implements MutableDynaClass {
*/
@Override
protected boolean isDynaProperty(final String name) {
-
+
if (name == null) {
throw new IllegalArgumentException("Property name is missing.");
}
-
+
return values.containsKey(name);
-
+
}
/**
@@ -390,7 +390,7 @@ public class LazyDynaMap extends LazyDynaBean implements MutableDynaClass {
// Crate new LazyDynaMap and initialize properties
final LazyDynaMap lazyMap = new LazyDynaMap(newMap);
- final DynaProperty[] properties = this.getDynaProperties();
+ final DynaProperty[] properties = getDynaProperties();
if (properties != null) {
for (final DynaProperty propertie : properties) {
lazyMap.add(propertie);