This is an automated email from the ASF dual-hosted git repository.
jamesbognar pushed a commit to branch juneau-7.2.2-branch
in repository https://gitbox.apache.org/repos/asf/juneau.git
The following commit(s) were added to refs/heads/juneau-7.2.2-branch by this
push:
new b610672 Add org.apache.juneau.PropertyStoreBuilder.clearCache().
new aa3bc52 Merge pull request #54 from
garydgregory/PropertyStore_clearCache
b610672 is described below
commit b6106724d589555c085fc1e22ea0ebdf632e5d98
Author: Gary Gregory <[email protected]>
AuthorDate: Tue Apr 28 16:41:52 2020 -0400
Add org.apache.juneau.PropertyStoreBuilder.clearCache().
---
.../src/main/java/org/apache/juneau/PropertyStoreBuilder.java | 7 +++++++
1 file changed, 7 insertions(+)
diff --git
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/PropertyStoreBuilder.java
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/PropertyStoreBuilder.java
index c9c0b24..88b42a7 100644
---
a/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/PropertyStoreBuilder.java
+++
b/juneau-core/juneau-marshall/src/main/java/org/apache/juneau/PropertyStoreBuilder.java
@@ -75,6 +75,13 @@ public class PropertyStoreBuilder {
}
/**
+ * Clears the PropertyStore cache.
+ */
+ public void clearCache() {
+ CACHE.clear();
+ }
+
+ /**
* Copies all the values in the specified property store into this
builder.
*
* @param copyFrom The property store to copy the values from.