shiro
shiro copied to clipboard
[Enhancement] Remove all "rawtypes"
Search before asking
- [X] I had searched in the issues and found no similar issues.
Enhancement Request
Remove all "raw" types from the code and APIs
Describe the solution you'd like
N/A
Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
See:
Absolutely! Here's a quick recipe run: https://app.moderne.io/results/j2iJu9Xxx/ And a branch you can use to create a PR to clear out those 152 cases. https://github.com/apache/shiro/compare/main...timtebeek:shiro:refactor/use-diamond-operator?expand=1
Hello, do you still need help with this issue? Could I get it assigned to me?
Sure, here you go, and thank you
@lprimak Should I use the refactor/use-diamon-operator branch to implement the changes or rather create another one?
Not sure what you mean. I don't see any such branches.
@Luis-EncoraDev: You do not have such a branch: https://github.com/Luis-EncoraDev/shiro/branches
My bad then, thanks!
I've been trying to replace all rawtypes during these last days, but when I ran ./mvnw verify I would get some errors pointing to a specific folder, I would undo the changes causing the error and then pass to the next files. However, at some point I could not get back to a successful building of the app, even though I deleted the project and started over a fresh fork again, even without any changes to the codebase I keep on getting a BUILD FAILURE. Do you have any hints on how this could be solved?
Can you paste full error log please? The actual error is missing from the screenshots. Please attach a log file, screenshots are not useful. Thank you!
Just move the log file out of your Shiro build directory. The log itself is causing the issue.
@Luis-EncoraDev do you want to work on this?
Hi, I came across with the error described above and couldn't really find a workaround, so I'm no longer working on this.
- You don't need to run
./mvnw verifyjustmvn packagewould suffice. - or run
mvn verify -DskipITsormvn -fn(fail-never)
You don't really need to run integration tests for this task to work. Have you tried that?
Ooh, no, I didn't try that. But I don't think I will be able to work on this anymore.
Do we have a branch?
Nope, I didn't create any.