Branch 9 1 neo#1264
Branch 9 1 neo#1264vatsalpatel3689 wants to merge 2 commits intoapache:branch_9_1from vatsalpatel3689:branch_9_1_neo
Conversation
| fi | ||
|
|
||
| batchNumber=1 | ||
| count=0 |
There was a problem hiding this comment.
SC2034: count appears unused. Verify use (or export if used externally).
ℹ️ Learn about @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
| echo "$replica deleted" | ||
|
|
||
| currentTimestamp=$(date +%s) | ||
| echo "timeElapsed $(($currentTimestamp-$startTimestamp))" |
There was a problem hiding this comment.
💬 18 similar findings have been found in this PR
SC2004:
🔎 Expand here to view all instances of this finding
| File Path | Line Number |
|---|---|
| cluster/scripts/deleteReplica.sh | 16 |
| cluster/scripts/deleteNodes.sh | 18 |
| cluster/scripts/deleteNodes.sh | 20 |
| cluster/scripts/deleteNodes.sh | 20 |
| cluster/scripts/deleteAndReAddNodes.sh | 19 |
| cluster/scripts/deleteAndReAddNodes.sh | 19 |
| cluster/scripts/deleteAndReAddNodes.sh | 30 |
| cluster/scripts/deleteAndReAddNodes.sh | 30 |
| cluster/scripts/deleteAndReAddNodes.sh | 31 |
| cluster/scripts/deleteAndReAddNodes.sh | 31 |
Showing 10 of 18 findings. Visit the Lift Web Console to see all.
ℹ️ Learn about @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
| endpoint=$1 | ||
| nodesFileName=$2 | ||
|
|
||
| IFS=$'\n' read -d '' -r -a nodeIPs < ${nodesFileName} |
There was a problem hiding this comment.
💬 3 similar findings have been found in this PR
SC2086: Double quote to prevent globbing and word splitting.
🔎 Expand here to view all instances of this finding
| File Path | Line Number |
|---|---|
| cluster/scripts/deleteAndReAddNodes.sh | 12 |
| cluster/scripts/deleteAndReAddNodes.sh | 43 |
| cluster/scripts/deleteAndReAddNodes.sh | 60 |
Visit the Lift Web Console to find more details in your report.
ℹ️ Learn about @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
| } | ||
|
|
||
| dependencies { | ||
| // Spotbugs Annotations are only needed for old findbugs | ||
| // annotation usage like in Zookeeper during compilation time. | ||
| // It is not included in the release so exclude from checks. |
There was a problem hiding this comment.
High Vulnerability:
maven : com.fasterxml.jackson/jackson-bom : 2.13.4.20221013
0 Critical, 1 High, 0 Medium, 0 Low vulnerabilities have been found across 1 dependencies.
View the Lift console for details about these vulnerabilities.
ℹ️ Learn about @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
| public static int compare(double a, double b, FacetRequest.SortDirection direction) { | ||
| if (a < b) return -1; | ||
| if (a > b) return 1; | ||
|
|
||
| if (a != a) { // a==NaN | ||
| if (a != a) { // a==NaN |
There was a problem hiding this comment.
💬 2 similar findings have been found in this PR
opt.semgrep.java.lang.correctness.eqeq.eqeq: a == a or a != a is always true. (Unless the value compared is a float or double).
To test if a is not-a-number, use Double.isNaN(a).
🔎 Expand here to view all instances of this finding
| File Path | Line Number |
|---|---|
| solr/core/src/java/org/apache/solr/search/facet/FacetModule.java | 413 |
| solr/core/src/java/org/apache/solr/search/facet/FacetModule.java | 419 |
Visit the Lift Web Console to find more details in your report.
ℹ️ Learn about @sonatype-lift commands
You can reply with the following commands. For example, reply with @sonatype-lift ignoreall to leave out all findings.
| Command | Usage |
|---|---|
@sonatype-lift ignore |
Leave out the above finding from this PR |
@sonatype-lift ignoreall |
Leave out all the existing findings from this PR |
@sonatype-lift exclude <file|issue|path|tool> |
Exclude specified file|issue|path|tool from Lift findings by updating your config.toml file |
Note: When talking to LiftBot, you need to refresh the page to see its response.
Click here to add LiftBot to another repo.
Was this a good recommendation?
[ 🙁 Not relevant ] - [ 😕 Won't fix ] - [ 😑 Not critical, will fix ] - [ 🙂 Critical, will fix ] - [ 😊 Critical, fixing now ]
https://issues.apache.org/jira/browse/SOLR-XXXXX
Description
Please provide a short description of the changes you're making with this pull request.
Solution
Please provide a short description of the approach taken to implement your solution.
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:
mainbranch../gradlew check.