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 2017/06/03 20:44:13 UTC
svn commit: r1797538 -
/tomcat/trunk/java/org/apache/jasper/compiler/SmapStratum.java
Author: markt
Date: Sat Jun 3 20:44:12 2017
New Revision: 1797538
URL: http://svn.apache.org/viewvc?rev=1797538&view=rev
Log:
Remove dprecated code
Modified:
tomcat/trunk/java/org/apache/jasper/compiler/SmapStratum.java
Modified: tomcat/trunk/java/org/apache/jasper/compiler/SmapStratum.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/SmapStratum.java?rev=1797538&r1=1797537&r2=1797538&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/jasper/compiler/SmapStratum.java (original)
+++ tomcat/trunk/java/org/apache/jasper/compiler/SmapStratum.java Sat Jun 3 20:44:12 2017
@@ -113,7 +113,6 @@ public class SmapStratum {
//*********************************************************************
// Private state
- private final String stratumName;
private final List<String> fileNameList;
private final List<String> filePathList;
private final List<LineInfo> lineData;
@@ -126,20 +125,6 @@ public class SmapStratum {
* Constructs a new SmapStratum object with the stratum name JSP.
*/
public SmapStratum() {
- this("JSP");
- }
-
- /**
- * Constructs a new SmapStratum object for the given stratum name
- * (e.g., JSP).
- *
- * @param stratumName the name of the stratum (e.g., JSP)
- *
- * @deprecated Use the no-arg constructor
- */
- @Deprecated
- public SmapStratum(String stratumName) {
- this.stratumName = stratumName;
fileNameList = new ArrayList<>();
filePathList = new ArrayList<>();
lineData = new ArrayList<>();
@@ -292,7 +277,7 @@ public class SmapStratum {
* @return the name of the stratum.
*/
public String getStratumName() {
- return stratumName;
+ return "JSP";
}
/**
@@ -307,7 +292,7 @@ public class SmapStratum {
StringBuilder out = new StringBuilder();
// print StratumSection
- out.append("*S " + stratumName + "\n");
+ out.append("*S JSP\n");
// print FileSection
out.append("*F\n");
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org