Skip to content

Commit 805deb1

Browse files
committed
JS: Fix whitespace
1 parent 8632c2a commit 805deb1

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

javascript/extractor/src/com/semmle/js/extractor/AutoBuild.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -574,15 +574,15 @@ public int compare(File f1, File f2) {
574574
public class FileExtractors {
575575
FileExtractor defaultExtractor;
576576
Map<String, FileExtractor> customExtractors = new LinkedHashMap<>();
577-
577+
578578
FileExtractors(FileExtractor defaultExtractor) {
579579
this.defaultExtractor = defaultExtractor;
580580
}
581-
581+
582582
public FileExtractor forFile(Path f) {
583583
return customExtractors.getOrDefault(FileUtil.extension(f), defaultExtractor);
584584
}
585-
585+
586586
public FileType fileType(Path f) {
587587
return forFile(f).getFileType(f.toFile());
588588
}
@@ -630,7 +630,7 @@ private void extractSource() throws IOException {
630630

631631
// extract remaining files
632632
extractFiles(
633-
filesToExtract, extractedFiles, extractors,
633+
filesToExtract, extractedFiles, extractors,
634634
f -> !(hasTypeScriptFiles && isFileDerivedFromTypeScriptFile(f, extractedFiles)));
635635
}
636636

javascript/extractor/src/com/semmle/js/extractor/ExtractorConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public String toString() {
236236

237237
/** The default character encoding to use for parsing source files. */
238238
private String defaultEncoding;
239-
239+
240240
private VirtualSourceRoot virtualSourceRoot;
241241

242242
public ExtractorConfig(boolean experimental) {
@@ -460,7 +460,7 @@ public ExtractorConfig withDefaultEncoding(String defaultEncoding) {
460460
public VirtualSourceRoot getVirtualSourceRoot() {
461461
return virtualSourceRoot;
462462
}
463-
463+
464464
public ExtractorConfig withVirtualSourceRoot(VirtualSourceRoot virtualSourceRoot) {
465465
ExtractorConfig res = new ExtractorConfig(this);
466466
res.virtualSourceRoot = virtualSourceRoot;

javascript/extractor/src/com/semmle/js/extractor/VirtualSourceRoot.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
public class VirtualSourceRoot {
66
private Path sourceRoot;
77
private Path virtualSourceRoot;
8-
8+
99
public static final VirtualSourceRoot none = new VirtualSourceRoot(null, null);
1010

1111
public VirtualSourceRoot(Path sourceRoot, Path virtualSourceRoot) {
@@ -33,7 +33,7 @@ public Path getSourceRoot() {
3333
public Path getVirtualSourceRoot() {
3434
return virtualSourceRoot;
3535
}
36-
36+
3737
private static Path translate(Path oldRoot, Path newRoot, Path file) {
3838
if (oldRoot == null || newRoot == null) return null;
3939
Path relative = oldRoot.relativize(file);

0 commit comments

Comments
 (0)