Skip to content

Commit

Permalink
Remove deprecated code
Browse files Browse the repository at this point in the history
  • Loading branch information
markt-asf committed May 5, 2020
1 parent 9b1a6f6 commit 563f85a
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions java/org/apache/catalina/connector/Connector.java
Original file line number Diff line number Diff line change
Expand Up @@ -321,36 +321,6 @@ public boolean setProperty(String name, String value) {
}


/**
* 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).
*/
Expand Down

0 comments on commit 563f85a

Please sign in to comment.