Skip to content

Commit

Permalink
checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Jan 10, 2025
1 parent 3e49843 commit 102b4d6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
import java.util.List;
import java.util.zip.GZIPOutputStream;


/**
* Records split points to a file for Compile Reports.
*/
Expand Down
12 changes: 8 additions & 4 deletions dev/core/src/com/google/gwt/util/tools/Utility.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ public static File createNormalFile(File parent, String fileName,
* @return A {@link File} representing a directory that now exists.
* @throws IOException If the directory is not found and/or cannot be created.
* @deprecated Consider using {@link Files#createDirectories(Path, FileAttribute[])} instead - if
* logging or errors are expected, consider inlining this method, as there is no exact replacement.
* logging or errors are expected, consider inlining this method, as there is no exact
* replacement.
*/
public static File getDirectory(File parent, String dirName, boolean create)
throws IOException {
Expand Down Expand Up @@ -140,7 +141,8 @@ public static File getDirectory(File parent, String dirName, boolean create)
* @return A {@link File} representing a directory that now exists.
* @throws IOException If the directory is not found and/or cannot be created.
* @deprecated Consider using {@link Files#createDirectories(Path, FileAttribute[])} instead - if
* logging or errors are expected, consider inlining this method, as there is no exact replacement.
* logging or errors are expected, consider inlining this method, as there is no exact
* replacement.
*/
public static File getDirectory(String dirPath, boolean create)
throws IOException {
Expand All @@ -156,7 +158,8 @@ public static File getDirectory(String dirPath, boolean create)
* @return the contents of the file
* @throws IOException if the file could not be found or an error occurred
* while reading it
* @deprecated If writing a linker, use {@link com.google.gwt.core.ext.linker.LinkerUtils#readClasspathFileAsString(String)} instead.
* @deprecated If writing a linker, use
* {@link com.google.gwt.core.ext.linker.LinkerUtils#readClasspathFileAsString(String)} instead.
*/
public static String getFileFromClassPath(String partialPath)
throws IOException {
Expand Down Expand Up @@ -195,7 +198,8 @@ public static File makeTemporaryDirectory(File baseDir, String prefix) throws IO
}

/**
* @deprecated use {@link InputStream#transferTo(OutputStream)} instead, letting it buffer internally.
* @deprecated use {@link InputStream#transferTo(OutputStream)} instead, letting it buffer
* internally.
*/
public static void streamOut(InputStream in, OutputStream out, int bufferSize)
throws IOException {
Expand Down

0 comments on commit 102b4d6

Please sign in to comment.