Skip to content

Commit 63c60e9

Browse files
committed
Fix java:S4738 code smell
1 parent 7ec0350 commit 63c60e9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

community-rust-frontend/src/main/java/org/sonar/rust/RustVisitor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
*/
2121
package org.sonar.rust;
2222

23-
import com.google.common.collect.ImmutableSet;
2423
import com.sonar.sslr.api.AstNode;
2524
import com.sonar.sslr.api.AstNodeType;
2625
import com.sonar.sslr.api.Token;
@@ -33,7 +32,7 @@ public class RustVisitor {
3332
private RustVisitorContext context;
3433

3534
public Set<AstNodeType> subscribedKinds() {
36-
return ImmutableSet.of();
35+
return Set.of();
3736
}
3837

3938
public void visitFile(AstNode node) {

0 commit comments

Comments
 (0)