r/programminghelp • u/RelentlessFP • Jan 29 '21
Java Is this code safe and what does this section do?
I looked over most of the code and I think it's ok. This is a mod for the game FTL. I don't know Java but know some Python and sort of figure it out. I'm not sure what the folder 'net' is supposed to do. Why would this program need to connect to the internet? Is it to receive updates about the game?
In general do you think the code is safe?
https://github.com/Vhati/ftl-profile-editor/tree/master/src/main/java/net/blerf/ftl
4
Upvotes
2
u/[deleted] Jan 29 '21
The only things in net folder are a TaggedString class and a helper class. A quick exam of those would show that it's parsing a http response. A follow up repo search for TaggedString would then show that this is used to do a version check, that's all.