-
Notifications
You must be signed in to change notification settings - Fork 239
improve: related resource reference change #3425
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
base: next
Are you sure you want to change the base?
Changes from all commits
58301d5
ef3a797
bd4d7fb
c4fb160
6ac0b14
a94adb9
21fadd3
aa20f3b
942f228
b91eaaf
7091df5
ff62bde
55d618c
26b630f
2b1f6f4
a96871f
5b86b08
dd27748
b0c96de
c43e52d
28391b0
458e9d5
9664ccd
9e7499c
8b72c43
220db05
e5ba32a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,13 +33,14 @@ public static <T extends HasMetadata> NOOPPrimaryToSecondaryIndex<T> getInstance | |
| private NOOPPrimaryToSecondaryIndex() {} | ||
|
|
||
| @Override | ||
| public void onAddOrUpdate(R resource) { | ||
| // empty method because of noop implementation | ||
| public Set<ResourceID> onAddOrUpdate(R resource, R oldResource) { | ||
| return null; | ||
|
csviri marked this conversation as resolved.
|
||
| } | ||
|
|
||
| @Override | ||
| public void onDelete(R resource) { | ||
| public Set<ResourceID> onDelete(R resource) { | ||
| // empty method because of noop implementation | ||
| return null; | ||
|
Comment on lines
35
to
+43
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is ugly but was not able to find much nicer alternative
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Adding unit test coverage |
||
| } | ||
|
csviri marked this conversation as resolved.
Comment on lines
35
to
44
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could alternatively remove NOOPPrimaryToSecondaryIndex. But in a separate PR would be nicer. |
||
|
|
||
| @Override | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.