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

dbeaver/pro#3707 Fix whitespace string detection #61

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
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 @@ -546,14 +546,14 @@
*/
protected boolean isAllWhiteSpace(CharSequence sb) {
for (int i = 0; i < sb.length(); i++) {
if (Character.isWhitespace(sb.charAt(i))) {
return true;
if (!Character.isWhitespace(sb.charAt(i))) {
return false;
}
}
return false;
return true;
}

/**

Check warning on line 556 in modules/org.jkiss.utils/src/org/jkiss/utils/csv/CSVParser.java

View workflow job for this annotation

GitHub Actions / Check / Lint

[checkstyle] reported by reviewdog 🐶 Summary javadoc is missing. Raw Output: /github/workspace/./modules/org.jkiss.utils/src/org/jkiss/utils/csv/CSVParser.java:556:0: warning: Summary javadoc is missing. (com.puppycrawl.tools.checkstyle.checks.javadoc.SummaryJavadocCheck)
* @return - the null field indicator.
*/
public CSVReaderNullFieldIndicator nullFieldIndicator() {
Expand Down