Reduce visibility. All those are only needed
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 28 Oct 2010 17:13:25 +0000 (17:13 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Thu, 28 Oct 2010 17:13:25 +0000 (17:13 +0000)
by the Queue implementation, not by the consumer
of the collection.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1028389 13f79535-47bb-0310-9956-ffa450edef68

java/org/apache/jasper/util/Entry.java

index 31bb71b..9a8ab03 100644 (file)
@@ -41,15 +41,15 @@ public class Entry<T> {
         this.previous = previous;
     }
 
-    public T getContent() {
+    protected T getContent() {
         return content;
     }
 
-    public Entry<T> getPrevious() {
+    protected Entry<T> getPrevious() {
         return previous;
     }
 
-    public Entry<T> getNext() {
+    protected Entry<T> getNext() {
         return next;
     }