File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/java/org/apache/commons/jxpath Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public class BasicNodeSet implements NodeSet {
3838 */
3939 public void add (final NodeSet nodeSet ) {
4040 if (pointers .addAll (nodeSet .getPointers ())) {
41- clearCacheLists ();
41+ clear ();
4242 }
4343 }
4444
@@ -49,14 +49,14 @@ public void add(final NodeSet nodeSet) {
4949 */
5050 public void add (final Pointer pointer ) {
5151 if (pointers .add (pointer )) {
52- clearCacheLists ();
52+ clear ();
5353 }
5454 }
5555
5656 /**
5757 * Clear cache list members.
5858 */
59- private synchronized void clearCacheLists () {
59+ private synchronized void clear () {
6060 readOnlyPointers = null ;
6161 nodes = null ;
6262 values = null ;
@@ -103,7 +103,7 @@ public synchronized List getValues() {
103103 */
104104 public void remove (final Pointer pointer ) {
105105 if (pointers .remove (pointer )) {
106- clearCacheLists ();
106+ clear ();
107107 }
108108 }
109109
You can’t perform that action at this time.
0 commit comments