Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 6d9274c15fa39892d01dd3ccb49be14881ff1907
  • Loading branch information
develar authored and auduchinok committed Dec 27, 2024
1 parent 41f1e03 commit 2f4954d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ class FSharpKeywordsMap {
}
}

@Nullable
static IElementType findKeyword(@NotNull CharSequence buffer, int start, int end) {
static @Nullable IElementType findKeyword(@NotNull CharSequence buffer, int start, int end) {
CharSequence sequence = buffer.subSequence(start, end);
return ourKeywordMap.get(sequence);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,18 +450,15 @@ public interface FSharpTokenType {
DECIMAL
);

@NotNull
static FSharpTokenNodeType createToken(@NotNull String value) {
static @NotNull FSharpTokenNodeType createToken(@NotNull String value) {
return new FSharpTokenNodeType(value);
}

@NotNull
static FSharpTokenNodeType createToken(@NotNull String value, @NotNull String representation) {
static @NotNull FSharpTokenNodeType createToken(@NotNull String value, @NotNull String representation) {
return new FSharpTokenNodeType(value, representation);
}

@NotNull
static FSharpKeywordTokenNodeType createKeywordToken(String value, @NotNull String representation) {
static @NotNull FSharpKeywordTokenNodeType createKeywordToken(String value, @NotNull String representation) {
return new FSharpKeywordTokenNodeType(value, representation, false);
}
}

0 comments on commit 2f4954d

Please sign in to comment.