Skip to content

Commit

Permalink
Remove formatting from the dagger.android generated source.
Browse files Browse the repository at this point in the history
Fixes #3531.

RELNOTES=Remove formatting from dagger.android generated source. May be relevant for golden files.
PiperOrigin-RevId: 468278501
  • Loading branch information
Chang-Eric authored and Dagger Team committed Aug 17, 2022
1 parent 8330385 commit e0761a4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions java/dagger/android/processor/AndroidProcessor.java
Expand Up @@ -24,7 +24,6 @@
import com.google.common.base.Ascii;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.googlejavaformat.java.filer.FormattingFiler;
import java.util.Set;
import javax.annotation.processing.Filer;
import javax.annotation.processing.Messager;
Expand Down Expand Up @@ -56,7 +55,7 @@ public final class AndroidProcessor extends BasicAnnotationProcessor {

@Override
protected Iterable<? extends Step> steps() {
Filer filer = new FormattingFiler(processingEnv.getFiler());
Filer filer = processingEnv.getFiler();
Messager messager = processingEnv.getMessager();
Elements elements = processingEnv.getElementUtils();
Types types = processingEnv.getTypeUtils();
Expand Down
1 change: 0 additions & 1 deletion java/dagger/android/processor/BUILD
Expand Up @@ -44,7 +44,6 @@ java_library(
"//third_party/java/auto:common",
"//third_party/java/auto:service",
"//third_party/java/auto:value",
"//third_party/java/google_java_format",
"//third_party/java/guava/base",
"//third_party/java/guava/collect",
"//third_party/java/incap",
Expand Down

0 comments on commit e0761a4

Please sign in to comment.