Skip to content

Commit 1f70ac3

Browse files
committed
misc
1 parent de6006a commit 1f70ac3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/main/java/zzzank/probejs/ProbeConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ static void refresh() {
125125
.comment("""
126126
Generate `Internal` namespace to simulate old typing structure before ProbeJS Legacy 4""")
127127
.build();
128-
ConfigEntry<Boolean> fieldAsBean = INSTANCE.define("Field As Bean")
128+
ConfigEntry<Boolean> fieldAsBeaning = INSTANCE.define("Field As Beaning")
129129
.setDefault(true)
130130
.comment("""
131131
Convert field to getter/setter if possible, this might help beaning generation be more accurate""")

src/main/java/zzzank/probejs/ProbeDump.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ public void trigger() throws IOException {
114114
dump.acceptClasses(ClassRegistry.REGISTRY.getFoundClasses());
115115
try {
116116
dump.dump();
117-
report(ProbeText.pjs("dump.dump_finished", dump.manager.type.name).green());
117+
report(ProbeText.pjs("dump.dump_finished", dump.manager.type).green());
118118
} catch (Throwable e) {
119-
report(ProbeText.pjs("dump.dump_error", dump.manager.type.name).red());
119+
report(ProbeText.pjs("dump.dump_error", dump.manager.type).red());
120120
throw new RuntimeException(e);
121121
}
122122
},

src/main/java/zzzank/probejs/lang/transpiler/transformation/impl/InjectBeans.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public void transform(Clazz clazz, ClassDecl classDecl) {
2121
usedNames.add(method.name);
2222
}
2323

24-
if (ProbeConfig.fieldAsBean.get()) {
24+
if (ProbeConfig.fieldAsBeaning.get()) {
2525
fromField(classDecl, usedNames);
2626
}
2727
for (val field : classDecl.fields) {

0 commit comments

Comments
 (0)