Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Remove unused import #378

Merged
merged 4 commits into from
Dec 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading