chore[visit]: control access to variables

This commit is contained in:
godotg
2024-01-15 15:58:45 +08:00
parent 32721b9ab1
commit 62fb1b4a42
9 changed files with 9 additions and 9 deletions
@@ -53,7 +53,7 @@ public abstract class GenerateCppUtils {
// custom configuration
public static String protocolOutputRootPath = "zfoocpp";
public static String protocolOutputPath = StringUtils.EMPTY;
private static String protocolOutputPath = StringUtils.EMPTY;
private static Map<ISerializer, ICppSerializer> cppSerializerMap;
@@ -49,7 +49,7 @@ public abstract class GenerateCsUtils {
// custom configuration
public static String protocolOutputRootPath = "zfoocs";
public static String protocolOutputPath = StringUtils.EMPTY;
private static String protocolOutputPath = StringUtils.EMPTY;
private static Map<ISerializer, ICsSerializer> csSerializerMap;
@@ -52,7 +52,7 @@ public abstract class GenerateGdUtils {
// custom configuration
public static String protocolOutputRootPath = "zfoogd";
public static String protocolOutputPath = StringUtils.EMPTY;
private static String protocolOutputPath = StringUtils.EMPTY;
private static Map<ISerializer, IGdSerializer> gdSerializerMap;
@@ -47,7 +47,7 @@ public abstract class GenerateGoUtils {
private static final Logger logger = LoggerFactory.getLogger(GenerateGoUtils.class);
// custom configuration
public static String protocolOutputRootPath = "zfoogo";
public static String protocolOutputPath = StringUtils.EMPTY;
private static String protocolOutputPath = StringUtils.EMPTY;
private static Map<ISerializer, IGoSerializer> goSerializerMap;
@@ -45,7 +45,7 @@ public abstract class GenerateJsUtils {
private static final Logger logger = LoggerFactory.getLogger(GenerateJsUtils.class);
// custom configuration
public static String protocolOutputRootPath = "zfoojs";
public static String protocolOutputPath = StringUtils.EMPTY;
private static String protocolOutputPath = StringUtils.EMPTY;
private static Map<ISerializer, IJsSerializer> jsSerializerMap;
@@ -48,7 +48,7 @@ public abstract class GenerateLuaUtils {
private static final Logger logger = LoggerFactory.getLogger(GenerateLuaUtils.class);
// custom configuration
public static String protocolOutputRootPath = "zfoolua";
public static String protocolOutputPath = StringUtils.EMPTY;
private static String protocolOutputPath = StringUtils.EMPTY;
private static Map<ISerializer, ILuaSerializer> luaSerializerMap;
@@ -39,7 +39,7 @@ public abstract class GeneratePbUtils {
// custom configuration
public static String protocolOutputRootPath = "zfoopb";
public static String protocolOutputPath = StringUtils.EMPTY;
private static String protocolOutputPath = StringUtils.EMPTY;
/**
* EN: If the tag of a protobuf field exceeds this value, this field is considered to be a compatible protocol field
@@ -47,7 +47,7 @@ public abstract class GeneratePyUtils {
// custom configuration
public static String protocolOutputRootPath = "zfoopy";
public static String protocolOutputPath = StringUtils.EMPTY;
private static String protocolOutputPath = StringUtils.EMPTY;
private static Map<ISerializer, IPySerializer> pySerializerMap;
@@ -49,7 +49,7 @@ public abstract class GenerateTsUtils {
// custom configuration
public static String protocolOutputRootPath = "zfoots";
public static String protocolOutputPath = StringUtils.EMPTY;
private static String protocolOutputPath = StringUtils.EMPTY;
private static Map<ISerializer, ITsSerializer> tsSerializerMap;