8000 [GHWebhookSignature] Use non-deprecated unescapeJava · srbala/github-plugin@a728333 · GitHub
[go: up one dir, main page]

Skip to content

Commit a728333

Browse files
committed
[GHWebhookSignature] Use non-deprecated unescapeJava
1 parent 653f8a5 commit a728333

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,11 @@
8181
<artifactId>commons-lang3</artifactId>
8282
<version>3.9</version>
8383
</dependency>
84-
84+
<dependency>
85+
<groupId>org.apache.commons</groupId>
86+
<artifactId>commons-text</artifactId>
87+
<version>1.7</version>
88+
</dependency>
8589
<dependency>
8690
<groupId>org.jenkins-ci.plugins</groupId>
8791
<artifactId>github-api</artifactId>

src/main/java/org/jenkinsci/plugins/github/webhook/GHWebhookSignature.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import hudson.util.Secret;
44
import org.apache.commons.codec.binary.Hex;
5-
import org.apache.commons.lang3.StringEscapeUtils;
5+
import org.apache.commons.text.StringEscapeUtils;
66
import org.apache.commons.lang3.StringUtils;
77
import org.slf4j.Logger;
88
import org.slf4j.LoggerFactory;

0 commit comments

Comments
 (0)
0