Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Improve] Add Deprecated annotation rule #276

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions community/submit_guide/code-style-and-quality-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,26 @@ to reduce code line depth and improve readability like follows:
}
```

### 3.13 `Deprecated` Annotation

- Negative demo:

```java
@deprecated
public void process(String input) {
...
}
```

- Positive demo:

```java
@Deprecated
public void process(String input) {
...
}
```

## 4 Exception Processing

This `streampark-console-service` module is the core module for processing user requests.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,26 @@ sidebar_position: 3
}
```

### 3.13 `Deprecated` 注解

- 负面示例:

```java
@deprecated
public void process(String input) {
...
}
```

- 正面示例:

```java
@Deprecated
public void process(String input) {
...
}
```

## 4 异常处理

`streampark-console-service` 模块是处理用户请求的核心模块。
Expand Down
Loading