Skip to content

Commit 677daca

Browse files
committed
Enable the PMD FormalParameterNamingConventions rule and fix warnings
1 parent 9716ea1 commit 677daca

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

configs/pmd-rules.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545

4646
<!-- TODO -->
4747
<exclude name="ShortClassName" />
48-
<exclude name="FormalParameterNamingConventions" />
4948
<exclude name="LinguisticNaming" />
5049
<exclude name="ConfusingTernary" />
5150
<exclude name="PrematureDeclaration" />

src/sqlancer/postgres/gen/PostgresCommon.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private enum StorageParameters {
197197
PARALLEL_WORKERS("parallel_workers", (r) -> r.getInteger(0, 1024)),
198198
AUTOVACUUM_ENABLED("autovacuum_enabled", (r) -> Randomly.fromOptions(0, 1)),
199199
AUTOVACUUM_VACUUM_THRESHOLD("autovacuum_vacuum_threshold", (r) -> r.getInteger(0, 2147483647)),
200-
OIDS("oids", (R) -> Randomly.fromOptions(0, 1)),
200+
OIDS("oids", (r) -> Randomly.fromOptions(0, 1)),
201201
AUTOVACUUM_VACUUM_SCALE_FACTOR("autovacuum_vacuum_scale_factor",
202202
(r) -> Randomly.fromOptions(0, 0.00001, 0.01, 0.1, 0.2, 0.5, 0.8, 0.9, 1)),
203203
AUTOVACUUM_ANALYZE_THRESHOLD("autovacuum_analyze_threshold", (r) -> r.getLong(0, Integer.MAX_VALUE)),

0 commit comments

Comments
 (0)