|
@@ -21,6 +21,7 @@ All examples declare `static Logger log`, so slf4j jars must be on the classpath
|
|
|
## Working rules
|
|
## Working rules
|
|
|
- Every example's spawned child process must run the Java program under `src/main/resources/code/`, never an ad-hoc script or system command. Keep the fixture tree in sync with each example's `workDir`.
|
|
- Every example's spawned child process must run the Java program under `src/main/resources/code/`, never an ad-hoc script or system command. Keep the fixture tree in sync with each example's `workDir`.
|
|
|
- Every code example must carry reasonable comments (Chinese, matching repo style) explaining what each step does and why.
|
|
- Every code example must carry reasonable comments (Chinese, matching repo style) explaining what each step does and why.
|
|
|
|
|
+- Each case point (每个案例点) is demonstrated by exactly one dedicated `static` method, invoked from `main()` — do not fold several points into one linear `main`.
|
|
|
- Commit to the local git repo after completing each example/point (`git add` + `git commit`); commit in small increments, one point per commit.
|
|
- Commit to the local git repo after completing each example/point (`git add` + `git commit`); commit in small increments, one point per commit.
|
|
|
|
|
|
|
|
## Known API traps in these examples
|
|
## Known API traps in these examples
|