Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Dec 19, 2024
1 parent b2cbb55 commit 48c6957
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
- boot-opensearch-sample/pom.xml
- boot-rabbitmq-thymeleaf/pom.xml
- boot-rest-docs-sample/pom.xml
- boot-strategy-plugin/build.gradle
- boot-strategy-plugin/pom.xml
- boot-togglz-sample/pom.xml
- boot-ultimate-redis/pom.xml
- graphql/boot-graphql-querydsl/pom.xml
Expand Down
6 changes: 6 additions & 0 deletions boot-strategy-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<name>ghcr.io/${project.artifactId}:${project.version}</name>
</image>
<pullPolicy>IF_NOT_PRESENT</pullPolicy>
</configuration>
</plugin>
<plugin>
<groupId>org.graalvm.buildtools</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.lang.NonNull;
import org.springframework.stereotype.Component;

import com.example.plugin.strategyplugin.domain.GenericDTO;
Expand All @@ -18,7 +19,7 @@ public GenericDTO write(String message) {
}

@Override
public boolean supports(String delimiter) {
public boolean supports(@NonNull String delimiter) {
return delimiter.equalsIgnoreCase("csv");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.lang.NonNull;
import org.springframework.stereotype.Component;

import com.example.plugin.strategyplugin.domain.GenericDTO;
Expand All @@ -18,7 +19,7 @@ public GenericDTO write(String message) {
}

@Override
public boolean supports(String delimiter) {
public boolean supports(@NonNull String delimiter) {
return delimiter.equalsIgnoreCase("pdf");
}
}
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<module>boot-opensearch-sample</module>
<module>boot-rabbitmq-thymeleaf</module>
<module>boot-rest-docs-sample</module>
<module>boot-strategy-plugin</module>
<module>boot-togglz-sample</module>
<module>boot-ultimate-redis</module>
<module>graphql/boot-graphql-querydsl</module>
Expand Down

0 comments on commit 48c6957

Please sign in to comment.