From 18c3d996cca8ed592179cf0fe311eb75b41d2b8c Mon Sep 17 00:00:00 2001 From: jhy Date: Mon, 27 Dec 2021 17:17:10 +1100 Subject: [PATCH] Lower Attributes visibility (Still higher than private, as in the current release; visible for Document clone) --- src/main/java/org/jsoup/nodes/Element.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jsoup/nodes/Element.java b/src/main/java/org/jsoup/nodes/Element.java index 795fc0100a..8d30a10dbb 100644 --- a/src/main/java/org/jsoup/nodes/Element.java +++ b/src/main/java/org/jsoup/nodes/Element.java @@ -47,7 +47,7 @@ public class Element extends Node { private Tag tag; private @Nullable WeakReference> shadowChildrenRef; // points to child elements shadowed from node children List childNodes; - protected @Nullable Attributes attributes; // field is nullable but all methods for attributes are non null + @Nullable Attributes attributes; // field is nullable but all methods for attributes are non-null /** * Create a new, standalone element.