Skip to content

Commit 3b3ae42

Browse files
committed
Enforce the checkstyle JavadocType rule
1 parent 8e2b623 commit 3b3ae42

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

configs/checkstyle.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
<!-- See https://checkstyle.org/config_javadoc.html -->
8282
<module name="InvalidJavadocPosition" />
8383
<!-- <module name="JavadocMethod"/> -->
84-
<!-- <module name="JavadocType"/> <module name="JavadocVariable"/> <module
84+
<module name="JavadocType"/> <!-- <module name="JavadocVariable"/> <module
8585
name="JavadocStyle"/> <module name="MissingJavadocMethod"/> -->
8686

8787
<!-- Checks for Naming Conventions. -->

src/sqlancer/GlobalState.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
* Represents a global state that is valid for a testing session on a given database.
1313
*
1414
* @param <O>
15-
* the option parameter.
15+
* the option parameter
16+
* @param <S>
17+
* the schema parameter
1618
*/
1719
public abstract class GlobalState<O extends DBMSSpecificOptions<?>, S> {
1820

src/sqlancer/common/oracle/TernaryLogicPartitioningOracleBase.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package sqlancer.common.oracle;
22

3+
import sqlancer.GlobalState;
34
import sqlancer.common.gen.ExpressionGenerator;
45
import sqlancer.common.query.ExpectedErrors;
56

@@ -10,8 +11,10 @@
1011
*
1112
* @param <E>
1213
* the expression type
14+
* @param <S>
15+
* the global state type
1316
*/
14-
public abstract class TernaryLogicPartitioningOracleBase<E, S> implements TestOracle {
17+
public abstract class TernaryLogicPartitioningOracleBase<E, S extends GlobalState<?, ?>> implements TestOracle {
1518

1619
protected E predicate;
1720
protected E negatedPredicate;

0 commit comments

Comments
 (0)