Skip to content

Commit a26ce04

Browse files
committed
refactor(servlet-core): 重构导入 StringUtils
- 将 StringUtils替换为 FeatUtils - 更新相关导入语句 - 修改使用 StringUtils 方法的地方
1 parent a8404ff commit a26ce04

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+93
-90
lines changed

pages/src/content/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { defineCollection } from 'astro:content';
2-
import { docsSchema } from '@astrojs/starlight/schema';
1+
import {defineCollection} from 'astro:content';
2+
import {docsSchema} from '@astrojs/starlight/schema';
33

44
export const collections = {
55
docs: defineCollection({ schema: docsSchema() }),

pages/src/content/docs/en/guides/about.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ sidebar:
44
order: 1
55
---
66

7-
import {CardGrid, LinkCard, TabItem, Tabs,FileTree} from '@astrojs/starlight/components';
7+
8+
import {FileTree, TabItem, Tabs} from '@astrojs/starlight/components';
89

910
Smart-Servlet is a lightweight servlet container based on Jakarta Servlet 6.1 for Java 17 + environments.
1011

pages/src/content/docs/en/guides/release_note.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: Release Notes
33
description: A reference page in my new Starlight docs site.
44
---
5-
import { LinkCard } from '@astrojs/starlight/components';
5+
6+
import {LinkCard} from '@astrojs/starlight/components';
67

78
## v2.9 (2025-02-09)
89
- 🛠️Remove the Attachment design in HttpServletRequestImpl.

pages/src/content/docs/en/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ hero:
1616
icon: external
1717
---
1818

19-
import { Card, CardGrid } from '@astrojs/starlight/components';
19+
20+
import {Card, CardGrid} from '@astrojs/starlight/components';
2021

2122
## Features
2223

pages/src/content/docs/en/reference/license.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: Commercial License
33
---
44

5-
import { Badge,Card,LinkCard, CardGrid} from '@astrojs/starlight/components';
5+
6+
import {Badge} from '@astrojs/starlight/components';
67

78

89
## License

pages/src/content/docs/guides/about.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: 1.1 概述
33
sidebar:
44
order: 1
55
---
6-
import {Image} from "astro:assets";
7-
import {CardGrid, LinkCard, TabItem, Tabs, FileTree, Aside} from '@astrojs/starlight/components';
6+
7+
import {Aside} from '@astrojs/starlight/components';
88
import Mermaid from '../../../components/Mermaid.astro';
99

1010
smart-servlet 是一个基于 Jakarta Servlet 6.1 规范的轻量级、高性能的 Servlet 容器,专为 Java 17+ 环境设计。

pages/src/content/docs/guides/install.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: 1.2 安装指南
33
sidebar:
44
order: 1
55
---
6-
import {Image} from "astro:assets";
7-
import {CardGrid, LinkCard, TabItem, Tabs, FileTree, Aside,Steps} from '@astrojs/starlight/components';
6+
7+
import {Steps} from '@astrojs/starlight/components';
88

99
#### 安装前准备
1010

pages/src/content/docs/guides/release_note.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
title: 1.3 发版记录
33
description: A reference page in my new Starlight docs site.
44
---
5-
import { LinkCard } from '@astrojs/starlight/components';
5+
6+
import {LinkCard} from '@astrojs/starlight/components';
67

78
## v3.0 (2025-03-15)
89
- 🚀通过 Feat 的 Router 提供多 ServerContext 的路由匹配能力

pages/src/content/docs/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ hero:
1616
icon: external
1717
---
1818

19-
import { Card, CardGrid ,LinkButton,Icon} from '@astrojs/starlight/components';
19+
20+
import {Card, CardGrid, LinkButton} from '@astrojs/starlight/components';
2021
import GithubDownloadCount from '../../components/GithubDownloadCount.astro';
2122
import PerformanceChart from '../../components/PerformanceChart.astro';
2223

pages/src/content/docs/reference/license.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
---
22
title: 商业授权
33
---
4-
import { Badge,Card,LinkCard, CardGrid} from '@astrojs/starlight/components';
4+
5+
import {Badge} from '@astrojs/starlight/components';
56

67
## 许可证
78
我们持续增强 smart-servlet 的核心能力并保持开源,希望可以满足大多数小企业的需求。

0 commit comments

Comments
 (0)