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

Auto reserva pode falhar quando há mais de 128 usuários. #8

Closed
cleydyr opened this issue Mar 24, 2018 · 0 comments
Closed

Auto reserva pode falhar quando há mais de 128 usuários. #8

cleydyr opened this issue Mar 24, 2018 · 0 comments

Comments

@cleydyr
Copy link
Contributor

cleydyr commented Mar 24, 2018

https://github.com/Biblivre/Biblivre-5/blob/master/src/java/biblivre/circulation/reservation/Handler.java#L242 faz uma comparação entre Integers usando o operador !=. Comparação de objetos devem ser feitas usando equals.

O bug não se manifesta em bases com poucos usuários.

Sydtrack-zz pushed a commit that referenced this issue Oct 27, 2018
#8 Use equals para comparação de tipos de referência
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

No branches or pull requests

2 participants