diff --git a/.baseline/idea/intellij-java-palantir-style.xml b/.baseline/idea/intellij-java-palantir-style.xml
index 6a5f83a61..476c88c43 100644
--- a/.baseline/idea/intellij-java-palantir-style.xml
+++ b/.baseline/idea/intellij-java-palantir-style.xml
@@ -58,6 +58,7 @@
+
diff --git a/build.gradle b/build.gradle
index 3014ba09f..5935d2b9f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -28,7 +28,7 @@ buildscript {
classpath 'com.palantir.gradle.jdkslatest:gradle-jdks-latest:0.13.0'
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.15.0'
classpath 'com.palantir.gradle.failure-reports:gradle-failure-reports:1.9.0'
- classpath 'com.palantir.baseline:gradle-baseline-java:5.28.0'
+ classpath 'com.palantir.baseline:gradle-baseline-java:5.50.0'
classpath 'com.palantir.gradle.conjure:gradle-conjure:5.46.0'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.22.0'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:3.0.0'
diff --git a/conjure-core/src/main/java/com/palantir/conjure/parser/services/PathString.java b/conjure-core/src/main/java/com/palantir/conjure/parser/services/PathString.java
index bd68f2924..e3544777c 100644
--- a/conjure-core/src/main/java/com/palantir/conjure/parser/services/PathString.java
+++ b/conjure-core/src/main/java/com/palantir/conjure/parser/services/PathString.java
@@ -18,11 +18,13 @@
import com.fasterxml.jackson.annotation.JsonCreator;
import com.palantir.conjure.defs.ConjureImmutablesStyle;
+import com.palantir.logsafe.Unsafe;
import com.palantir.util.syntacticpath.Path;
import com.palantir.util.syntacticpath.Paths;
import org.immutables.value.Value;
/** Represents a HTTP path in a {@link ServiceDefinition conjure service definition}. */
+@Unsafe
@Value.Immutable
@ConjureImmutablesStyle
public abstract class PathString {
@@ -52,6 +54,7 @@ public static PathString of(String path) {
return ImmutablePathString.builder().path(parsed).build();
}
+ @Unsafe
@Override
public final String toString() {
return path().toString();