Skip to content

Commit

Permalink
Make APIs accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Aug 13, 2021
1 parent 27554e0 commit 249f314
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ static void strip(List<String> files, Path outputPath, Problems problems) {
}

/** Preprocess all provided files and put them to provided output path. */
private static void preprocessFiles(List<FileInfo> fileInfos, Output output, Problems problems) {
public static void preprocessFiles(List<FileInfo> fileInfos, Output output, Problems problems) {
for (FileInfo fileInfo : fileInfos) {
String processedFileContent;
try {
Expand Down
4 changes: 2 additions & 2 deletions transpiler/java/com/google/j2cl/common/SourceUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ public class SourceUtils {
@AutoValue
public abstract static class FileInfo implements Comparable<FileInfo> {

private static FileInfo create(String sourcePath, String originalPath) {
public static FileInfo create(String sourcePath, String originalPath) {
return create(sourcePath, originalPath, originalPath);
}

private static FileInfo create(String sourcePath, String originalPath, String targetPath) {
public static FileInfo create(String sourcePath, String originalPath, String targetPath) {
return new AutoValue_SourceUtils_FileInfo(sourcePath, originalPath, targetPath);
}

Expand Down

0 comments on commit 249f314

Please sign in to comment.