Skip to content

Commit

Permalink
chore: remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
zavakid authored and oldratlee committed Aug 5, 2024
1 parent 403be0f commit 371dfd2
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 17 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import com.foldright.auto.pipeline.AutoPipeline;
import com.foldright.auto.pipeline.PipelineDirection;
import com.foldright.examples.Component;

import java.util.ArrayList;
import java.util.Collections;
Expand All @@ -14,7 +13,7 @@
public interface RPC {


Response request(Request request, Component c);
Response request(Request request);

@PipelineDirection(REVERSE)
void onResponse(Response response);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import javax.lang.model.util.Types

class AutoPipelineClassDescriptor(
elements: Elements,
private val types: Types,
private val entityElement: TypeElement
) {
// entity description
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class AutoPipelineProcessor : AbstractProcessor() {
}

private fun doProcess(element: TypeElement) {
val classDescriptor = AutoPipelineClassDescriptor(elements, types, element)
val classDescriptor = AutoPipelineClassDescriptor(elements, element)
val generator = SourceGeneratorFacade(classDescriptor, filer)

generator.genSourceCode()
Expand Down

0 comments on commit 371dfd2

Please sign in to comment.