-
Notifications
You must be signed in to change notification settings - Fork 17
Issue 6091: Remove Facebook collections library #6129
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
Open
rtjd6554
wants to merge
33
commits into
develop
Choose a base branch
from
6091-Remove-Facebook-Collections-Library
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+386
−64
Open
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
630e219
6091: New pair class to remove facebook.collections usage
rtjd6554 f6bb550
6091 Remove Pair
patchwork01 0f9c02e
Merge branch 'develop' into 6091-Remove-Facebook-Collections-Library
rtjd6554 f09aec3
Merge branch 'develop' into 6091-Remove-Facebook-Collections-Library
rtjd6554 da1f344
6091: Move records out to seperate class files.
rtjd6554 972cafa
6091: New Class for ByteArray
rtjd6554 4b26524
6091: Adjust imports to replace facebook collections with core versio…
rtjd6554 0bae30e
6091: Update test class
rtjd6554 0fab329
6091: Update pom declarations
rtjd6554 35524cf
Merge branch 'develop' into 6091-Remove-Facebook-Collections-Library
rtjd6554 e2612aa
6091: Update NOTICES
rtjd6554 95d060b
6091: Improve comparator
rtjd6554 d9f2036
6091: Access modifiers correction
rtjd6554 73d4c64
6091: Update compare logic
rtjd6554 46b7450
6091: Correct class name typo
rtjd6554 d3cd782
6091: Correct java doc typo
rtjd6554 6fa837a
6091: Additional unit test
rtjd6554 d4fa64f
Merge branch 'develop' into 6091-Remove-Facebook-Collections-Library
rtjd6554 1e019bb
6091: Update copyright declaration
rtjd6554 1dc5db4
6091: Typos and Javadoc corrections
rtjd6554 1e9e865
6091: Rename class and Javadoc
rtjd6554 2fb1a8f
6091: MIssing Javadoc
rtjd6554 764cbbf
6091: Javadoc improvements
rtjd6554 8729321
6091: Update unit tests
rtjd6554 837a218
6091: Checkstyle updates
rtjd6554 87aa5c2
6091: Update copyright
rtjd6554 e1cc495
6091: Update copyright
rtjd6554 5908008
6091: Update copyright
rtjd6554 4048f0c
6091: Simplfy copyright
rtjd6554 fc6e5d0
Merge branch 'develop' into 6091-Remove-Facebook-Collections-Library
rtjd6554 90047a1
6091: Refactor nested classes
rtjd6554 5a4faee
6091: Checkstyle updates
rtjd6554 615dabf
6091: Spotbugs adjustments
rtjd6554 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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
25 changes: 25 additions & 0 deletions
25
java/athena/src/main/java/sleeper/athena/record/FieldAsString.java
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /* | ||
| * Copyright 2022-2025 Crown Copyright | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
| package sleeper.athena.record; | ||
|
|
||
| /** | ||
| * Storage of key pairing for field and value. | ||
| * | ||
| * @param fieldName field name | ||
| * @param value value stored | ||
| */ | ||
| public record FieldAsString(String fieldName, String value) { | ||
|
Collaborator
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 class is missing Javadoc.
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. Addressed |
||
| } | ||
25 changes: 25 additions & 0 deletions
25
java/athena/src/main/java/sleeper/athena/record/FieldAtDimension.java
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /* | ||
| * Copyright 2022-2025 Crown Copyright | ||
| * | ||
| * Licensed under the Apache License, Version 2.0 (the "License"); | ||
| * you may not use this file except in compliance with the License. | ||
| * You may obtain a copy of the License at | ||
| * | ||
| * http://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * Unless required by applicable law or agreed to in writing, software | ||
| * distributed under the License is distributed on an "AS IS" BASIS, | ||
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| * See the License for the specific language governing permissions and | ||
| * limitations under the License. | ||
| */ | ||
| package sleeper.athena.record; | ||
|
|
||
| /** | ||
| * Storage of key pairing of dimension and value. | ||
| * | ||
| * @param dimension dimension key | ||
| * @param value value stored | ||
| */ | ||
| public record FieldAtDimension(int dimension, Object value) { | ||
| } |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
This is no longer a Maven dependency, but we've copied code directly from there so I think we need to state that in this file. I think we still need this notice, but in its own section explaining we copied the ByteArray class.