Skip to content

Commit 52970e8

Browse files
12wrigjacopybara-github
authored andcommitted
Reformat Compiler.java.
PiperOrigin-RevId: 868200715
1 parent d3f956e commit 52970e8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/com/google/javascript/jscomp/Compiler.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,8 @@ private void initExperimentalForceTranspileOptions(CompilerOptions options) {
367367
Feature.OBJECT_DESTRUCTURING,
368368
Feature.ARRAY_PATTERN_REST,
369369
Feature.DEFAULT_PARAMETERS));
370-
// TODO(rishipal): Fall through because of
371-
// https://b.corp.google.com/issues/239426154#comment57
370+
// TODO(rishipal): Fall through because of
371+
// https://b.corp.google.com/issues/239426154#comment57
372372
case CLASS:
373373
options.setOutputFeatureSet(
374374
options
@@ -2111,8 +2111,7 @@ void initializeModuleLoader() {
21112111
*
21122112
* @return A synthetic root node whose two children are the externs root and the main root
21132113
*/
2114-
@Nullable
2115-
Node parseInputs() {
2114+
@Nullable Node parseInputs() {
21162115
boolean devMode = options.getDevMode() != DevMode.OFF;
21172116

21182117
// If old roots exist (we are parsing a second time), detach each of the
@@ -2365,7 +2364,7 @@ private void findModulesFromEntryPoints(
23652364
for (CompilerInput entryPoint : entryPoints) {
23662365
findModulesFromInput(
23672366
entryPoint,
2368-
/* wasImportedByModule = */ false,
2367+
/* wasImportedByModule= */ false,
23692368
workingInputSet,
23702369
inputsByIdentifier,
23712370
inputsByProvide,
@@ -4440,8 +4439,7 @@ private void deserializeCompilerState(InputStream inputStream)
44404439

44414440
/** Returns the module type for the provided namespace. */
44424441
@Override
4443-
@Nullable
4444-
ModuleType getModuleTypeByName(String moduleName) {
4442+
@Nullable ModuleType getModuleTypeByName(String moduleName) {
44454443
return moduleTypesByName.get(moduleName);
44464444
}
44474445

0 commit comments

Comments
 (0)