Skip to content

Commit 1018c22

Browse files
committed
docs: Optimised docs.
1 parent 5b2e96c commit 1018c22

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

property-guard-spring-boot-starter/build.gradle.kts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717

1818
import java.net.URI
1919

20-
val sGroupId: String by project
21-
val sVersion: String by project
20+
val buildGroupId: String by project
21+
val buildVersion: String by project
2222
val projectUrl: String by project
2323
val projectGithubUrl: String by project
2424
val licenseName: String by project
2525
val licenseUrl: String by project
2626

2727
val springBootVersion: String by project
2828

29-
group = sGroupId
30-
version = sVersion
29+
group = buildGroupId
30+
version = buildVersion
3131

3232
dependencies {
3333
implementation(project(":devkit-utils"))
@@ -51,9 +51,9 @@ tasks.test {
5151
publishing {
5252
publications {
5353
create<MavenPublication>("propertyGuardSpringBootStarter") {
54-
groupId = sGroupId
54+
groupId = buildGroupId
5555
artifactId = "property-guard-spring-boot-starter"
56-
version = sVersion
56+
version = buildVersion
5757

5858
pom {
5959
name = "Property Guard Spring Boot Starter"

simple-jwt-jjwt/src/main/java/cn/org/codecrafters/simplejwt/jjwt/JjwtTokenResolver.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,9 +111,10 @@ public class JjwtTokenResolver implements TokenResolver<Jws<Claims>> {
111111
/**
112112
* Create a resolver with specified algorithm, issuer, secret and guid strategy.
113113
*
114-
* @param algorithm specified algorithm
115-
* @param issuer specified issuer
116-
* @param secret specified secret
114+
* @param jtiCreator jwt id creator
115+
* @param algorithm specified algorithm
116+
* @param issuer specified issuer
117+
* @param secret specified secret
117118
*/
118119
public JjwtTokenResolver(GuidCreator<?> jtiCreator, TokenAlgorithm algorithm, String issuer, String secret) {
119120
if (Objects.isNull(secret) || secret.isBlank()) {

0 commit comments

Comments
 (0)