Skip to content

Removed redundant non-null for argument, renamed some private methods

Codecov / codecov/patch failed Oct 3, 2023 in 1s

65.06% of diff hit (target 84.56%)

View this Pull Request on Codecov

65.06% of diff hit (target 84.56%)

Annotations

Check warning on line 236 in src/main/java/org/opensearch/neuralsearch/ml/MLCommonsClientAccessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/ml/MLCommonsClientAccessor.java#L234-L236

Added lines #L234 - L236 were not covered by tests

Check warning on line 89 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L89

Added line #L89 was not covered by tests

Check warning on line 105 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L105

Added line #L105 was not covered by tests

Check warning on line 132 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L132

Added line #L132 was not covered by tests

Check warning on line 170 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L169-L170

Added lines #L169 - L170 were not covered by tests

Check warning on line 172 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L172

Added line #L172 was not covered by tests

Check warning on line 174 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L174

Added line #L174 was not covered by tests

Check warning on line 176 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L176

Added line #L176 was not covered by tests

Check warning on line 184 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L184

Added line #L184 was not covered by tests

Check warning on line 186 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L186

Added line #L186 was not covered by tests

Check warning on line 188 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L188

Added line #L188 was not covered by tests

Check warning on line 193 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L190-L193

Added lines #L190 - L193 were not covered by tests

Check warning on line 195 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L195

Added line #L195 was not covered by tests

Check warning on line 197 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L197

Added line #L197 was not covered by tests

Check warning on line 199 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L199

Added line #L199 was not covered by tests

Check warning on line 205 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L205

Added line #L205 was not covered by tests

Check warning on line 207 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L207

Added line #L207 was not covered by tests

Check warning on line 209 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L209

Added line #L209 was not covered by tests

Check warning on line 212 in src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/processor/TextImageEmbeddingProcessor.java#L211-L212

Added lines #L211 - L212 were not covered by tests

Check warning on line 242 in src/main/java/org/opensearch/neuralsearch/query/NeuralQueryBuilder.java

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/main/java/org/opensearch/neuralsearch/query/NeuralQueryBuilder.java#L242

Added line #L242 was not covered by tests