Skip to content

Commit

Permalink
2024-12-27 07:16:28
Browse files Browse the repository at this point in the history
  • Loading branch information
yingzhuo committed Dec 26, 2024
1 parent 8c6dbc0 commit c8a770c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@

<spring.turbo.version>${project.version}</spring.turbo.version>
<spring.boot.version>3.4.1</spring.boot.version>
<hutool.version>5.8.34</hutool.version>
<hutool.version>5.8.35</hutool.version>
<jjwt.version>0.12.6</jjwt.version>
<lombok.version>1.18.36</lombok.version>
</properties>
Expand Down Expand Up @@ -368,7 +368,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.10.1</version>
<version>3.11.2</version>
<configuration>
<encoding>${encoding}</encoding>
<doclint>none</doclint>
Expand Down Expand Up @@ -425,7 +425,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.1</version>
<version>3.5.2</version>
<configuration>
<skipTests>false</skipTests>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import org.springframework.core.io.support.PropertySourceFactory;
import org.springframework.lang.Nullable;
import spring.turbo.util.StringUtils;
import spring.turbo.util.UUIDUtils;
import spring.turbo.util.UUIDGenerators;

import java.io.IOException;

Expand Down Expand Up @@ -45,7 +45,7 @@ private String enforcePropertySourceName(@Nullable String name, EncodedResource
}

if (StringUtils.isBlank(name)) {
return UUIDUtils.uuid36();
return UUIDGenerators.classic36();
}
return name;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import org.springframework.beans.factory.InitializingBean;
import spring.turbo.bean.injection.ApplicationName;
import spring.turbo.util.StringUtils;
import spring.turbo.util.UUIDUtils;
import spring.turbo.util.UUIDGenerators;

import static spring.turbo.util.StringPool.EMPTY;

Expand All @@ -20,7 +20,7 @@ public class SimpleAccessKeyGenerator implements AccessKeyGenerator, Initializin

@Override
public String generate() {
return applicationName + "-captcha-access-key-" + UUIDUtils.uuid32();
return applicationName + "-captcha-access-key-" + UUIDGenerators.classic32();
}

@Override
Expand Down

0 comments on commit c8a770c

Please sign in to comment.