Data: Cache SSU2 string

This commit is contained in:
zzz
2022-09-06 09:39:14 -04:00
parent 7ba59b4338
commit 45c160f27a

View File

@@ -286,10 +286,12 @@ public class RouterAddress extends DataStructureImpl {
// reduce Object proliferation
if (_transportStyle.equals("SSU"))
_transportStyle = "SSU";
else if (_transportStyle.equals("NTCP"))
_transportStyle = "NTCP";
else if (_transportStyle.equals("NTCP2"))
_transportStyle = "NTCP2";
else if (_transportStyle.equals("NTCP"))
_transportStyle = "NTCP";
else if (_transportStyle.equals("SSU2"))
_transportStyle = "SSU2";
DataHelper.readProperties(in, _options);
}