Skip to content

Commit

Permalink
optimized imports
Browse files Browse the repository at this point in the history
  • Loading branch information
bonede committed May 1, 2024
1 parent 92e9293 commit 935d37b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 4 additions & 2 deletions tree-sitter/src/main/java/org/treesitter/TSParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import org.treesitter.utils.NativeUtils;

import java.io.*;
import java.lang.ref.Cleaner;
import java.io.File;
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;

public class TSParser {
/**
Expand Down
4 changes: 3 additions & 1 deletion tree-sitter/src/main/java/org/treesitter/TSTree.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package org.treesitter;

import java.io.*;
import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;

import static org.treesitter.TSParser.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package org.treesitter.utils;

import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.zip.CRC32;
import java.util.zip.Checksum;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;
import static org.junit.jupiter.api.Assertions.assertEquals;

class TSLanguageTest {
private final TSLanguage json = new TreeSitterJson();
Expand Down
1 change: 0 additions & 1 deletion tree-sitter/src/test/java/org/treesitter/TSParserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteBuffer;

import static org.junit.jupiter.api.Assertions.*;
Expand Down
1 change: 0 additions & 1 deletion tree-sitter/src/test/java/org/treesitter/TSTreeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import java.io.File;
import java.io.IOException;
import java.io.OutputStream;
import java.nio.ByteBuffer;
import java.util.concurrent.atomic.AtomicBoolean;

Expand Down

0 comments on commit 935d37b

Please sign in to comment.