Skip to content

Commit

Permalink
Merge pull request #32 from thisrabbit/main
Browse files Browse the repository at this point in the history
fix: doc errors
  • Loading branch information
Lynn-Dai authored Oct 12, 2022
2 parents 53d2be4 + ce7d76c commit e5b81a8
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 12 deletions.
6 changes: 3 additions & 3 deletions docs/relation/Annotate.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ relation:
items:
- from: Annotation:'DisableOnCondition'
to: Method:'testMail'
loc: file0:11:17
loc: file0:9:5
type: Annotate
```
Expand Down Expand Up @@ -98,7 +98,7 @@ relation:
items:
- from: Annotation:'DisableOnCondition'
to: Method:'testMail'
loc: file0:12:17
loc: file0:10:5
type: Annotate
```
Expand Down Expand Up @@ -137,6 +137,6 @@ relation:
items:
- from: Annotation:'DisableOnCondition'
to: Method:'testMail'
loc: file0:11:17
loc: file0:9:5
type: Annotate
```
2 changes: 1 addition & 1 deletion docs/relation/Contain.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ entity:
relation:
items:
- from: File:'Hello.java'
to: Interface:'Interface'
to: Interface:'Hello'
type: Contain
loc: file0:1:18
```
Expand Down
19 changes: 16 additions & 3 deletions docs/relation/Modify.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ public class Foo {
public int counting(int i) {
int j = i % 2; // <--- Set
j += 1; // <--- Modify
j += 2; // <--- Modify
j /= 3; // <--- Modify
j -= 2; // <--- Modify
j *= 3; // <--- Modify
j /= 4; // <--- Modify
return j;
}
}
Expand All @@ -94,5 +95,17 @@ relation:
- from: Method:'counting'
to: Variable:'j'
type: Modify
loc: file0:3:13
loc: file0:4:9
- from: Method:'counting'
to: Variable:'j'
type: Modify
loc: file0:5:9
- from: Method:'counting'
to: Variable:'j'
type: Modify
loc: file0:6:9
- from: Method:'counting'
to: Variable:'j'
type: Modify
loc: file0:7:9
```
2 changes: 1 addition & 1 deletion docs/relation/Override.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ entity:
- name: AuthenticationException
type : Class
qualified: AuthenticationException
loc: file1:1:14
loc: file1:2:14
modifiers: public
File: AuthenticationException.java
- name: getStatus
Expand Down
4 changes: 2 additions & 2 deletions docs/relation/Reflect.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ entity:
loc: file1:6:24
relation:
items:
- from: Method:'method'
- from: Method:'main'
to: Method:'fun'[@loc=file0:29:21]
type: Reflect
loc: file1:12:22
- from: Method:'method'
- from: Method:'main'
to: Method:'fun'[@loc=file0:33:21]
type: Reflect
loc: file1:10:29
Expand Down
4 changes: 2 additions & 2 deletions docs/relation/Set.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ relation:
type: Set
loc: file0:5:13
- from: Method:'getNum'
to: Variable:'Hello'
to: Variable:'hello'
type: Set
loc: file0:6:16
- from: Method:'getNum'
to: Variable:'Hello'
to: Variable:'hello'
type: Set
loc: file0:7:9
```
Expand Down

0 comments on commit e5b81a8

Please sign in to comment.