Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
ZZZank committed Apr 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 8ce5511 commit f7dd6f3
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/main/java/com/probejs/ProbeCommands.java
Original file line number Diff line number Diff line change
@@ -52,7 +52,7 @@ public static void register(
TypingCompiler.compile();
sendSuccess(context, "Generating code snippets...");
SnippetCompiler.compile();
sendSuccess(context, "Generating rich display informations...");
sendSuccess(context, "Generating rich display information...");
RichFluidCompiler.compile();
RichItemCompiler.compile();
RichLangCompiler.compile();
8 changes: 4 additions & 4 deletions src/main/java/com/probejs/ProbeConfig.java
Original file line number Diff line number Diff line change
@@ -16,7 +16,7 @@
*/
public class ProbeConfig {

private static ProbeConfig reference = null;
private static ProbeConfig cfgReference = null;
public static final Path PATH = KubeJSPaths.CONFIG.resolve("probejs.json");
public boolean keepBeaned = true;
public boolean enabled = true;
@@ -25,10 +25,10 @@ public class ProbeConfig {
public boolean trimming = true;

public static ProbeConfig getInstance() {
if (reference == null) {
ProbeConfig.reference = new ProbeConfig();
if (cfgReference == null) {
ProbeConfig.cfgReference = new ProbeConfig();
}
return ProbeConfig.reference;
return ProbeConfig.cfgReference;
}

private ProbeConfig() {

0 comments on commit f7dd6f3

Please sign in to comment.