You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2020/05/05 08:58:56 UTC

[tomcat] branch master updated (5be7aab -> 563f85a)

This is an automated email from the ASF dual-hosted git repository.

markt pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git.


    from 5be7aab  Fix comment
     new 9b1a6f6  Deprecate get/set attribute
     new 563f85a  Remove deprecated code

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 java/org/apache/catalina/connector/Connector.java | 22 ----------------------
 1 file changed, 22 deletions(-)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[tomcat] 02/02: Remove deprecated code

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 563f85ab1076fdf7329b2c6cbae22d64a859d572
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue May 5 09:48:44 2020 +0100

    Remove deprecated code
---
 java/org/apache/catalina/connector/Connector.java | 30 -----------------------
 1 file changed, 30 deletions(-)

diff --git a/java/org/apache/catalina/connector/Connector.java b/java/org/apache/catalina/connector/Connector.java
index 033b194..e941291 100644
--- a/java/org/apache/catalina/connector/Connector.java
+++ b/java/org/apache/catalina/connector/Connector.java
@@ -322,36 +322,6 @@ public class Connector extends LifecycleMBeanBase  {
 
 
     /**
-     * Return a property from the protocol handler.
-     *
-     * @param name the property name
-     * @return the property value
-     *
-     * @deprecated Use {@link #getProperty(String)}. This will be removed in
-     *             Tomcat 10 onwards.
-     */
-    @Deprecated
-    public Object getAttribute(String name) {
-        return getProperty(name);
-    }
-
-
-    /**
-     * Set a property on the protocol handler.
-     *
-     * @param name the property name
-     * @param value the property value
-     *
-     * @deprecated Use {@link #setAttribute(String, Object)}. This will be
-     *             removed in Tomcat 10 onwards.
-     */
-    @Deprecated
-    public void setAttribute(String name, Object value) {
-        setProperty(name, String.valueOf(value));
-    }
-
-
-    /**
      * @return the <code>Service</code> with which we are associated (if any).
      */
     public Service getService() {


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[tomcat] 01/02: Deprecate get/set attribute

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git

commit 9b1a6f6350b22a3991d785bea91f95c41660fa19
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue May 5 09:48:23 2020 +0100

    Deprecate get/set attribute
---
 java/org/apache/catalina/connector/Connector.java | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/java/org/apache/catalina/connector/Connector.java b/java/org/apache/catalina/connector/Connector.java
index 2a56d16..033b194 100644
--- a/java/org/apache/catalina/connector/Connector.java
+++ b/java/org/apache/catalina/connector/Connector.java
@@ -326,7 +326,11 @@ public class Connector extends LifecycleMBeanBase  {
      *
      * @param name the property name
      * @return the property value
+     *
+     * @deprecated Use {@link #getProperty(String)}. This will be removed in
+     *             Tomcat 10 onwards.
      */
+    @Deprecated
     public Object getAttribute(String name) {
         return getProperty(name);
     }
@@ -337,7 +341,11 @@ public class Connector extends LifecycleMBeanBase  {
      *
      * @param name the property name
      * @param value the property value
+     *
+     * @deprecated Use {@link #setAttribute(String, Object)}. This will be
+     *             removed in Tomcat 10 onwards.
      */
+    @Deprecated
     public void setAttribute(String name, Object value) {
         setProperty(name, String.valueOf(value));
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org