Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the useless conditions. #165

Open
wants to merge 1 commit into
base: trunk
Choose a base branch
from
Open

Remove the useless conditions. #165

wants to merge 1 commit into from

Conversation

Kui-Liu
Copy link

@Kui-Liu Kui-Liu commented Oct 12, 2017

The values of the three conditions have been narrowed by previous conditions.
They have no effect on the current control flow.
http://findbugs.sourceforge.net/bugDescriptions.html#UC_USELESS_CONDITION

The values of the three conditions have been narrowed by previous conditions.
They have no effect on the current control flow.
http://findbugs.sourceforge.net/bugDescriptions.html#UC_USELESS_CONDITION
blambov pushed a commit to blambov/cassandra that referenced this pull request Jul 13, 2021
We can disable saving of the history either via command-line parameter
--disable-history, or by setting disabled = True in the history section of the
cqlshrc. Both options will read existing history, and just won't save new commands.

Co-authored-by: Alex Ott alex.ott@datastax.com
(cherry picked from commit ff1bc1f)
blambov pushed a commit to blambov/cassandra that referenced this pull request Aug 31, 2021
We can disable saving of the history either via command-line parameter
--disable-history, or by setting disabled = True in the history section of the
cqlshrc. Both options will read existing history, and just won't save new commands.

Co-authored-by: Alex Ott alex.ott@datastax.com
(cherry picked from commit ff1bc1f)
(cherry picked from commit d478c9f)
jacek-lewandowski pushed a commit to jacek-lewandowski/cassandra that referenced this pull request Mar 7, 2022
We can disable saving of the history either via command-line parameter
--disable-history, or by setting disabled = True in the history section of the
cqlshrc. Both options will read existing history, and just won't save new commands.

Co-authored-by: Alex Ott alex.ott@datastax.com
(cherry picked from commit ff1bc1f)
(cherry picked from commit d478c9f)
(cherry picked from commit 1a3f8b3)
@smiklosovic smiklosovic added the missing-ticket missing ticket in Cassandra JIRA label Mar 16, 2022
blambov pushed a commit to blambov/cassandra that referenced this pull request Mar 21, 2022
We can disable saving of the history either via command-line parameter
--disable-history, or by setting disabled = True in the history section of the
cqlshrc. Both options will read existing history, and just won't save new commands.

Co-authored-by: Alex Ott alex.ott@datastax.com
(cherry picked from commit ff1bc1f)
(cherry picked from commit d478c9f)
(cherry picked from commit 1a3f8b3)
blambov pushed a commit to blambov/cassandra that referenced this pull request Jun 13, 2022
We can disable saving of the history either via command-line parameter
--disable-history, or by setting disabled = True in the history section of the
cqlshrc. Both options will read existing history, and just won't save new commands.

Co-authored-by: Alex Ott alex.ott@datastax.com
(cherry picked from commit ff1bc1f)
(cherry picked from commit d478c9f)
(cherry picked from commit 1a3f8b3)
(cherry picked from commit ed21da3)
blambov pushed a commit to blambov/cassandra that referenced this pull request Nov 24, 2022
We can disable saving of the history either via command-line parameter
--disable-history, or by setting disabled = True in the history section of the
cqlshrc. Both options will read existing history, and just won't save new commands.

Co-authored-by: Alex Ott alex.ott@datastax.com
(cherry picked from commit ff1bc1f)
(cherry picked from commit d478c9f)
(cherry picked from commit 1a3f8b3)
(cherry picked from commit ed21da3)
(cherry picked from commit 17fab85)
adelapena pushed a commit to adelapena/cassandra that referenced this pull request Sep 26, 2023
We can disable saving of the history either via command-line parameter
--disable-history, or by setting disabled = True in the history section of the
cqlshrc. Both options will read existing history, and just won't save new commands.

Co-authored-by: Alex Ott alex.ott@datastax.com
(cherry picked from commit ff1bc1f)
(cherry picked from commit d478c9f)
(cherry picked from commit 1a3f8b3)
(cherry picked from commit ed21da3)
(cherry picked from commit 17fab85)
(cherry picked from commit 62d43e1) (+2 squashed commits)
Squashed commits:
[f11e9c7e2ea] STAR-431: Add option to prevent any file-I/O from cqlsh (apply from correct version of cqlsh.py this time) (apache#170)

(cherry picked from commit 38a4915)
(cherry picked from commit 0b65dd4)
(cherry picked from commit 271f1f1)
(cherry picked from commit 29b8d06)
(cherry picked from commit 567c6c8)
(cherry picked from commit 1060c56)
[da773eb67ed] STAR-431: Add option to prevent any file-I/O from cqlsh

Co-authored-by: Robert Stupp <snazy@snazy.de>
(cherry picked from commit d7e5ff4)
(cherry picked from commit bd6096e)
(cherry picked from commit 0d7bdd7)
(cherry picked from commit d3fe3d3)
(cherry picked from commit dbbd7bb)
(cherry picked from commit afdc4fc)
(cherry picked from commit 1b586e9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing-ticket missing ticket in Cassandra JIRA
Projects
None yet
2 participants