[DOC] Correct method-name typo in WebMVC interceptor example

Đang mở Phù hợp với người mới
#3,649 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

@vietdungnguyen2005 đang làm issue này rồi.

Từ ngày 12/11/2026.

  • #3650 của @git-jxj — đã đóng, không merge
  • #3675 của @vietdungnguyen2005 — đang mở

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
95/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
java
Lĩnh vực
documentation

Hướng nghiên cứu

Mở sentinel-adapter/sentinel-spring-webmvc-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/spring/webmvc/AbstractSentinelInterceptor.java và tìm ví dụ Javadoc có tiêu đề “Cách triển khai một yêu cầu con forward trong action của bạn”. Sửa tên phương thức mẫu từ initalRequest() thành initialRequest(). Hoàn tất khi ví dụ sử dụng cách viết đúng mà không thay đổi hành vi khi chạy.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Issue Description

Type: documentation improvement

Describe what happened

The Javadoc example in AbstractSentinelInterceptor spells the sample method name as initalRequest().

What was expected

The sample should use the correctly spelled initialRequest() method name.

How to reproduce it
  1. Open sentinel-adapter/sentinel-spring-webmvc-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/spring/webmvc/AbstractSentinelInterceptor.java.
  2. Read the How to implement a forward sub-request in your action example.
Environment

Sentinel 1.8 development branch.

Anything else we need to know?

This is a documentation-only correction and does not change runtime behavior.

Ngôn ngữ chính
Java
Star
23.1k
Fork
8.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của alibaba/Sentinel

Tất cả issue của alibaba/Sentinel

Issue tương tự

Thêm issue về Java

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.