Skip to content

Commit

Permalink
chore: Remove unused import (#378)
Browse files Browse the repository at this point in the history
* [Chore] remove unused import

* [Chore] remove unused import

* revert `pekko.http.ccompat._`

* revert seq imports

---------

Co-authored-by: Jiafu Tang <jiafu.tang@qq.com>
  • Loading branch information
laglangyue and laglangyue authored Dec 23, 2023
1 parent b455580 commit 740ffff
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@

package org.apache.pekko.http.javadsl.model;

import org.apache.pekko.Done;
import org.apache.pekko.http.impl.util.JavaAccessors;
import org.apache.pekko.stream.Materializer;
import org.apache.pekko.stream.javadsl.Sink;

import java.util.concurrent.CompletionStage;

/** Represents an Http request. */
public abstract class HttpRequest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

import org.apache.pekko.http.impl.model.JavaQuery;
import org.apache.pekko.http.impl.model.UriJavaAccessor;
import org.apache.pekko.http.scaladsl.model.*;
import org.apache.pekko.http.javadsl.model.HttpCharset;
import org.apache.pekko.japi.Pair;
import org.parboiled2.CharPredicate;
import org.parboiled2.ParserInput$;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.net.InetSocketAddress;
import java.util.Optional;

import org.apache.pekko.http.javadsl.model.headers.HttpEncodingRanges;
import org.apache.pekko.util.OptionConverters;

public abstract class RemoteAddress {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
import java.util.List;
import java.util.Map;

import static org.apache.pekko.http.shaded.com.twitter.hpack.HpackUtil.ISO_8859_1;

final class StaticTable {

private static final String EMPTY = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@

package org.apache.pekko.http.javadsl.unmarshalling;

import java.util.function.Function;

public interface Unmarshallers {
/** Creates an unmarshaller from an asynchronous Java function. */
// #unmarshaller-creation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

package org.apache.pekko.http.scaladsl.server

import org.apache.pekko
import directives._

/**
Expand Down
1 change: 0 additions & 1 deletion project/CopyrightHeader.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import org.apache.commons.lang3.StringUtils

object CopyrightHeader extends AutoPlugin {
import HeaderPlugin.autoImport._
import ValidatePullRequest.{ additionalTasks, ValidatePR }

override def requires = HeaderPlugin
override def trigger = allRequirements
Expand Down

0 comments on commit 740ffff

Please sign in to comment.