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/dbeaver-vscode#6 an lsp server impl #50

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
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
5 changes: 4 additions & 1 deletion modules/org.jkiss.utils/src/org/jkiss/utils/CommonUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,13 @@
* Common utils
*/
public class CommonUtils {

/**
* A cached java.lang.Object instance useful for avoiding allocations. It's not safe to use it as a mutex!
*/
public static final Object DUMMY = new Object();
public static final char PARAGRAPH_CHAR = (char) 182;

public static boolean isJavaIdentifier(@NotNull CharSequence str) {

Check warning on line 40 in modules/org.jkiss.utils/src/org/jkiss/utils/CommonUtils.java

View workflow job for this annotation

GitHub Actions / Check / Lint

[checkstyle] reported by reviewdog 🐶 Missing a Javadoc comment. Raw Output: /github/workspace/./modules/org.jkiss.utils/src/org/jkiss/utils/CommonUtils.java:40:5: warning: Missing a Javadoc comment. (com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck)
if (str.length() == 0 || !Character.isJavaIdentifierStart(str.charAt(0))) {
return false;
}
Expand Down
1 change: 1 addition & 0 deletions root/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<tycho-version>4.0.9</tycho-version>
<eclipse-version>2024-09</eclipse-version>
<elk-version>0.9.1</elk-version>
<lsp4j-version>0.23.1</lsp4j-version>
<eclipse-repo-url>https://download.eclipse.org/releases</eclipse-repo-url>
<eclipse-p2-repo.url>${eclipse-repo-url}/${eclipse-version}/</eclipse-p2-repo.url>
<build-timestamp>${maven.build.timestamp}</build-timestamp>
Expand Down