Skip to content

Commit

Permalink
清理无用代码
Browse files Browse the repository at this point in the history
  • Loading branch information
smthing committed Nov 12, 2024
1 parent ef97f68 commit 4c711ce
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 119 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ class DefaultServlet extends HttpServlet {
private static final Logger LOGGER = LoggerFactory.getLogger(DefaultServlet.class);
private static final int READ_BUFFER = 1024 * 1024;
private static final String FAVICON_NAME = "favicon.ico";
private static final String URL_404 =
"<html>" +
"<head>" +
"<title>smart-http 404</title>" +
"</head>" +
"<body><h1>smart-http 找不到你所请求的地址资源,404</h1></body>" +
"</html>";
private static byte[] faviconBytes = null;
private final ThreadLocal<SimpleDateFormat> sdf = new ThreadLocal<SimpleDateFormat>() {
@Override
Expand All @@ -72,7 +65,7 @@ protected SimpleDateFormat initialValue() {
* 默认页面
*/
private long faviconModifyTime;
private DeploymentInfo deploymentInfo;
private final DeploymentInfo deploymentInfo;

public DefaultServlet(DeploymentInfo deploymentInfo) {
this.deploymentInfo = deploymentInfo;
Expand Down
111 changes: 0 additions & 111 deletions servlet-core/src/main/java/tech/smartboot/servlet/util/LRUCache.java

This file was deleted.

0 comments on commit 4c711ce

Please sign in to comment.