Open wurstbroteater opened 3 years ago
In the project, there are several occurences of so called magic numbers like here: https://github.com/tthuem/VariantSync/pull/53#discussion_r565606093
Also there are occurences of unclear REGEX usages like here: https://github.com/tthuem/VariantSync/pull/53#discussion_r565588397 and https://github.com/tthuem/VariantSync/pull/53#discussion_r565588551
It is not OS save to use \n, so we have to change it to String.format("%n") and StringBuilder should be used in general
\n
String.format("%n")
StringBuilder
String
In the project, there are several occurences of so called magic numbers like here: https://github.com/tthuem/VariantSync/pull/53#discussion_r565606093
Also there are occurences of unclear REGEX usages like here: https://github.com/tthuem/VariantSync/pull/53#discussion_r565588397 and https://github.com/tthuem/VariantSync/pull/53#discussion_r565588551
It is not OS save to use
\n
, so we have to change it toString.format("%n")
andStringBuilder
should be used in generalThis issue is considered as done if:
\n
have been changed toString.format("%n")
String
is be replaced withStringBuilder
( this also includes String concatenation with +)