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:58 UTC
[tomcat] 02/02: Remove deprecated code
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