Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,17 @@ public class FolioLocal implements VertxServiceProvider {
* {@code src/main/resources/META-INF/services/io.vertx.core.spi.VertxServiceProvider}
* to prevent a timing (race condition) issue:
* <a href="https://folio-org.atlassian.net/browse/OKAPI-1228">OKAPI-1228</a>.
*
* <p>If some other dependency also ships with io.vertx.core.spi.VertxServiceProvider
* add the {@code ServicesResourceTransformer} transformer to {@code maven-shade-plugin}
* so that both files get concatenated, see
* <a href="https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html#ServicesResourceTransformer">manual</a>
* and <a href="https://github.com/folio-org/mod-copycat/pull/123/files">example</a>.
*/
@Override
@SuppressWarnings("java:S2696") // Suppress "Make method static", cannot change supertype
@SuppressWarnings({"java:S2696", // Suppress "Make method static", cannot change supertype
"java:S103", // Suppress "Line too long" to keep the URL in the javadoc without breaking it
})
public void init(VertxBootstrap builder) {
initialized = true;
}
Expand Down
Loading