Author: markt
Date: Sun Jun 18 19:43:48 2017
New Revision: 1799125
URL: http://svn.apache.org/viewvc?rev=1799125&view=rev
Log:
Clean-up.
No functional change
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java?rev=1799125&r1=1799124&r2=1799125&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java
(original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ApplicationContext.java
Sun Jun 18 19:43:48 2017
@@ -205,25 +205,17 @@ public class ApplicationContext implemen
*/
private boolean newServletContextListenerAllowed = true;
- // --------------------------------------------------------- Public Methods
+ // --------------------------------------------------------- Public Methods
- /**
- * Return the resources object that is mapped to a specified path.
- * The path must begin with a "/" and is interpreted as relative to the
- * current context root.
- */
@Deprecated
public DirContext getResources() {
-
return context.getResources();
-
}
// ------------------------------------------------- ServletContext Methods
-
/**
* Return the value of the specified context attribute, if any;
* otherwise return <code>null</code>.
@@ -232,9 +224,7 @@ public class ApplicationContext implemen
*/
@Override
public Object getAttribute(String name) {
-
- return (attributes.get(name));
-
+ return attributes.get(name);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]