You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the thing is confirmed to work, we ought to clean it up a bit. Ex: We have a gson that we imported but the only time it's ever used is in code that's commented out.
I also suggest we change all the public static final variables at the top to private variables and create some getters/setters for them since having them open like that causes security issues
The text was updated successfully, but these errors were encountered:
I agree. Java is very much not my preferred language, and I spend almost all my time working with procedural languages so there's probably a lot of places where better Java/OOP principles can be used. I'll slowly start cleaning stuff up when I notice something is off.
Mostly adding JavaDocs and spaces, but this also removes creating new gson objects in loops, which could boost performance somewhat
This begins to address issue #10, but mostly focus on stylistic things rather than java specific things like changing public variables to private. It's a process
Now that the thing is confirmed to work, we ought to clean it up a bit. Ex: We have a gson that we imported but the only time it's ever used is in code that's commented out.
I also suggest we change all the public static final variables at the top to private variables and create some getters/setters for them since having them open like that causes security issues
The text was updated successfully, but these errors were encountered: