Skip to content

Commit d240fed

Browse files
committed
false AvoidUsingHardCodedIP warning
1 parent e1732c1 commit d240fed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/OnlineIndexOperationBaseBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ public B setTransactionTimeLimitMilliseconds(long timeLimitMilliseconds) {
720720
* @deprecated Synchronized sessions are now determined by the indexing method.
721721
*/
722722
@API(API.Status.DEPRECATED)
723+
@SuppressWarnings("PMD.AvoidUsingHardCodedIP") // version is not IP
723724
@Deprecated(since = "4.4.3.0", forRemoval = true)
724725
public B setUseSynchronizedSession(boolean useSynchronizedSession) {
725726
return self();

fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/OnlineIndexOperationConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ public Builder setTransactionTimeLimitMilliseconds(long timeLimitMilliseconds) {
488488
* @deprecated Synchronized sessions are now determined by the indexing method.
489489
*/
490490
@API(API.Status.DEPRECATED)
491+
@SuppressWarnings("PMD.AvoidUsingHardCodedIP") // version is not IP
491492
@Deprecated(since = "4.4.3.0", forRemoval = true)
492493
public Builder setUseSynchronizedSession(boolean useSynchronizedSession) {
493494
// no-op

0 commit comments

Comments
 (0)