mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
add LCC first if JavaNamingConvention and thus at lowest priority)
This commit is contained in:
parent
6262b324ca
commit
58dcc0fd50
@ -160,15 +160,15 @@ namespace Twiglet.CS2J.Translator
|
|||||||
|
|
||||||
|
|
||||||
AppEnv = new DirectoryHT<TypeRepTemplate>();
|
AppEnv = new DirectoryHT<TypeRepTemplate>();
|
||||||
foreach (string alt in cfg.AltTranslations)
|
if (cfg.TranslatorMakeJavaNamingConventions)
|
||||||
{
|
|
||||||
AppEnv.Alts.Add(alt);
|
|
||||||
}
|
|
||||||
if (cfg.TranslatorMakeJavaNamingConventions && !AppEnv.Alts.Contains("LCC"))
|
|
||||||
{
|
{
|
||||||
// Search lowerCamelCase
|
// Search lowerCamelCase
|
||||||
AppEnv.Alts.Add("LCC");
|
AppEnv.Alts.Add("LCC");
|
||||||
}
|
}
|
||||||
|
foreach (string alt in cfg.AltTranslations)
|
||||||
|
{
|
||||||
|
AppEnv.Alts.Add(alt);
|
||||||
|
}
|
||||||
|
|
||||||
// Initialise RSA signing key so that we can verify signatures
|
// Initialise RSA signing key so that we can verify signatures
|
||||||
RsaKey = new RSACryptoServiceProvider();
|
RsaKey = new RSACryptoServiceProvider();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user