Skip to content

Commit

Permalink
Add final keyword to some method arguments
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Gaievski <[email protected]>
  • Loading branch information
martin-gaievski committed Oct 3, 2023
1 parent 98341e7 commit 69813ce
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,17 @@ public class TextImageEmbeddingProcessorFactory implements Factory {

private final Environment environment;

public TextImageEmbeddingProcessorFactory(MLCommonsClientAccessor clientAccessor, Environment environment) {
public TextImageEmbeddingProcessorFactory(final MLCommonsClientAccessor clientAccessor, final Environment environment) {
this.clientAccessor = clientAccessor;
this.environment = environment;
}

@Override
public TextImageEmbeddingProcessor create(
Map<String, Factory> registry,
String processorTag,
String description,
Map<String, Object> config
final Map<String, Factory> registry,
final String processorTag,
final String description,
final Map<String, Object> config
) throws Exception {
String modelId = readStringProperty(TYPE, processorTag, config, MODEL_ID_FIELD);
String embedding = readStringProperty(TYPE, processorTag, config, EMBEDDING_FIELD);
Expand Down

0 comments on commit 69813ce

Please sign in to comment.