Skip to content

Commit

Permalink
Add @immutable annotation
Browse files Browse the repository at this point in the history
Co-authored-by: Toshihiro Suzuki <brfrn169@gmail.com>
  • Loading branch information
Torch3333 and brfrn169 authored Aug 17, 2023
1 parent 1bc6f6e commit 20d1297
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Yuji Ito
*/
@SuppressFBWarnings({"EI_EXPOSE_REP", "EI_EXPOSE_REP2"})
@ThreadSafe
@Immutable
public class CosmosTableMetadata {
private final String id;
private final LinkedHashSet<String> partitionKeyNames;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @author Yuji Ito
*/
@SuppressFBWarnings({"EI_EXPOSE_REP", "EI_EXPOSE_REP2"})
@ThreadSafe
@Immutable
public class Record {
private final String id;
private final String concatenatedPartitionKey;
Expand Down

0 comments on commit 20d1297

Please sign in to comment.