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 Feb 20, 2024
1 parent 5679e4d commit 1782767
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 @@ -27,7 +27,7 @@ buildscript {
classpath 'com.palantir.gradle.jdks:gradle-jdks:0.34.0'
classpath 'com.palantir.gradle.jdkslatest:gradle-jdks-latest:0.12.0'
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.14.0'
classpath 'com.palantir.baseline:gradle-baseline-java:5.28.0'
classpath 'com.palantir.baseline:gradle-baseline-java:5.40.0'
classpath 'com.palantir.gradle.conjure:gradle-conjure:5.42.0'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.20.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 1782767

Please sign in to comment.