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

Bridges of BCrypt: Reintroduce pass-through deprecated net.liftweb.util.BCrypt #1945

Merged
merged 1 commit into from
Mar 4, 2018

Conversation

Shadowfiend
Copy link
Member

@eltimn had a moment to go ahead and do this to hopefully save you the time :)

Merges into #1942 .

We can't nuke that BCrypt class as it is public API in the net.liftweb.util
package. We introduce a deprecated class that passes through both docs and
public methods calls to org.mindrot.jbcrypt.BCrypt.
/**
* @see org.mindrot.jbcrypt.BCrypt#hashpw(String,String)
*/
@Deprecated
Copy link
Member

Choose a reason for hiding this comment

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

A message explaining the deprecation would probably be a good idea for all of these.

Copy link
Member Author

Choose a reason for hiding this comment

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

62.3% sure the Java deprecated annotation supports neither a message nor a version.

Copy link
Member

Choose a reason for hiding this comment

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

Oh right this is a java file. Sigh.

Copy link
Contributor

Choose a reason for hiding this comment

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

ahHA!

this is why i'm seeing

method hashpw in class BCrypt is deprecated: see corresponding Javadoc for more information.

🤦

made me think that hashpw was deprecated up the chain. 😅

@Shadowfiend Shadowfiend merged commit 66172eb into tcn_issue_1941 Mar 4, 2018
@Shadowfiend Shadowfiend deleted the bridges-of-bcrypt branch March 4, 2018 16:22
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.

4 participants