-
Notifications
You must be signed in to change notification settings - Fork 89
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
Refactor FeatureDefinitionContext to extend ContextStore #964
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KingOfSquares
force-pushed
the
context-store
branch
from
February 3, 2022 21:14
26b8d84
to
89ea365
Compare
Pugzy
reviewed
Feb 3, 2022
core/src/main/java/tc/oc/pgm/controlpoint/ControlPointModule.java
Outdated
Show resolved
Hide resolved
KingOfSquares
force-pushed
the
context-store
branch
from
February 6, 2022 11:17
8a26d02
to
97afd8d
Compare
KingOfSquares
added a commit
to KingOfSquares/PGM
that referenced
this pull request
Feb 7, 2022
Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com>
Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com>
KingOfSquares
force-pushed
the
context-store
branch
from
April 12, 2022 07:47
97afd8d
to
5a2b24b
Compare
In an attempt to move this faster the PR has been slimmed down drastically to only include necessary changes for the code to work |
Pablete1234
approved these changes
Apr 12, 2022
Electroid
approved these changes
Apr 15, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
KingOfSquares
added a commit
to KingOfSquares/PGM
that referenced
this pull request
Apr 18, 2022
Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com>
KingOfSquares
added a commit
to KingOfSquares/PGM
that referenced
this pull request
Apr 18, 2022
Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com>
KingOfSquares
added a commit
to KingOfSquares/PGM
that referenced
this pull request
Apr 22, 2022
Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com>
KingOfSquares
added a commit
to KingOfSquares/PGM
that referenced
this pull request
May 19, 2022
Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> format :( Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> Feedback changes Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> Changes from feedback and draft for PGMDev#964 Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> Move null check Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> finish initial implementation Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> javadoc changes Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> format Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> review feedback Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> more review feedback Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com>
KingOfSquares
added a commit
to KingOfSquares/PGM
that referenced
this pull request
Jun 17, 2022
Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> format :( Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> Feedback changes Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> Changes from feedback and draft for PGMDev#964 Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> Move null check Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> finish initial implementation Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> javadoc changes Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> format Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> review feedback Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com> more review feedback Signed-off-by: KingSimon <19822231+KingOfSquares@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In preparation for finalizing #950 I decided to split out this part into its own PR.
The idea behind the change is to be able to depend on the general
ContextStore
in places where you need someFeatureDefinition
that may be in its own context on legacy maps(proto 1.3), e.gFilterContext
or in the generalFeatureDefinitionContext
on newer maps(1.4 proto). Then the correct context can be passed without having to instance check for different types of contexts or other hackery.I also decided to update naming in the
ContextStore
, as it is now used in newer protos whereid
is the proper term.(in contrast toname
)Also other small changes...
Note: The
Map
used to store feature definitions is now aTreeMap
(Same asContextStore
has been using until now), which technically could reduce performance but its so small that I think its negligible.