Skip to content

Commit

Permalink
Excavator: Upgrades Baseline to the latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot committed Apr 12, 2024
1 parent eb40bfa commit 64ca81c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .baseline/idea/intellij-java-palantir-style.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<CLASS name="Id" />
<CLASS name="Identifier" />
<CLASS name="Provider" />
<CLASS name="Visitor" />
</DO_NOT_IMPORT_INNER>
</GroovyCodeStyleSettings>
<option name="JD_ALIGN_EXCEPTION_COMMENTS" value="false" />
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 64ca81c

Please sign in to comment.