Skip to content

Commit

Permalink
Excavator: Upgrades Baseline to the latest version (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
svc-excavator-bot authored Jan 19, 2022
1 parent 508cb87 commit 8b81ba6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .baseline/checkstyle/checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
<property name="tokens" value="VARIABLE_DEF"/>
<property name="allowSamelineMultipleAnnotations" value="true"/>
</module>
<module name="AnnotationUseStyle"/> <!-- Java Style Guide: Annotations -->
<module name="AnnotationUseStyle"> <!-- Java Style Guide: Annotations -->
<property name="trailingArrayComma" value="ignore"/>
</module>
<module name="ArrayTypeStyle"/> <!-- Java Style Guide: No C-style array declarations -->
<module name="AvoidEscapedUnicodeCharacters"> <!-- Java Style Guide: Non-ASCII characters -->
<property name="allowEscapesForControlCharacters" value="true"/>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ plugins {
id 'com.gradle.plugin-publish' version '0.19.0'
id 'com.palantir.git-version' version '0.12.3'
id 'com.palantir.idea-test-fix' version '0.1.0'
id 'com.palantir.baseline' version '4.20.0'
id 'com.palantir.baseline' version '4.60.0'
id 'com.palantir.consistent-versions' version '2.5.0'
id 'java-gradle-plugin'
id 'groovy'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public String describe(String prefix) {
// No tags found, so return commit hash of HEAD
return GitUtils.abbrevHash(headObjectId.getName());
} catch (IOException | RuntimeException e) {
log.debug("JGit describe failed with {}", e);
log.debug("JGit describe failed", e);
return null;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public String describe(String prefix) {
// No tags found, so return commit hash of HEAD
return GitUtils.abbrevHash(runGitCmd("rev-parse", "HEAD"));
} catch (IOException | InterruptedException | RuntimeException e) {
log.debug("Native git describe failed: {}", e);
log.debug("Native git describe failed", e);
return null;
}
}
Expand All @@ -119,7 +119,7 @@ private boolean gitCommandExists() {
}
return true;
} catch (IOException | InterruptedException | RuntimeException e) {
log.debug("Native git command not found: {}", e);
log.debug("Native git command not found", e);
return false;
}
}
Expand Down

0 comments on commit 8b81ba6

Please sign in to comment.