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

Remove Base64Parsing #259

Merged
merged 3 commits into from
Jul 24, 2023
Merged

Remove Base64Parsing #259

merged 3 commits into from
Jul 24, 2023

Conversation

pjfanning
Copy link
Contributor

@pjfanning pjfanning commented Jul 23, 2023

  • use parboiled class instead (we have removed all the other parboiled code, now that we have a jar dependency for it)
  • the code that I moved to Http2SettingsHeader did not come from the parboiled Base64Parsing class
  • relates to add parboiled2 license #257

@@ -42,4 +48,5 @@ private[pekko] object Http2SettingsHeader {
val reader = new io.ByteStringParser.ByteReader(bytes)
Http2FrameParsing.readSettings(reader, log)
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this new line

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the removed method been used anywhere ,eg in grpc module?

Copy link
Contributor Author

@pjfanning pjfanning Jul 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the code that is being removed is package private code so it would be really bad practice to use it outside of this module

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've just checked incubator-pekko-grpc, incubator-pekko-connectors and incububator-pekko-management git repos and can't find any uses of the class that I am removing in this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've committed a change that removes the new line

Copyright © 2009-2013 Mathias Doenitz <http://parboiled2.org>
Copyright © 2013 Alexander Myltsev

---------------
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only added yesterday - but not needed if we remove Base64Parsing.scala

Copy link
Member

@He-Pin He-Pin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pjfanning pjfanning merged commit 233eda2 into apache:main Jul 24, 2023
14 checks passed
@pjfanning pjfanning deleted the remove-base64parsing branch July 24, 2023 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants