Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
import java.util.Set;

/**
* Helper class for retrieval of cursor data by key fields.
*
* @author ioann
* @since 2017-07-06
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void updateDb() {
Map<String, GrainInfo> dbGrains = new HashMap<>();
while (schemaCursor.nextInSet()) {

if (!(EXPECTED_STATUSES.contains(schemaCursor.getState()))) {
if (!EXPECTED_STATUSES.contains(schemaCursor.getState())) {
throw new CelestaException("Cannot proceed with database upgrade: there are %s "
+ "not in 'ready', 'recover' or 'lock' state.", getSchemasTableName());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public interface QueryBuildingHelper {
String translateDate(String date);

/**
* Does RDBMS sort nulls first?
* Tells whether RDBMS sorts nulls first.
*/
boolean nullsFirst();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ public boolean filterEquals(AbstractFilter f) {
if (f instanceof Range) {
Object f2 = ((Range) f).valueFrom;
Object t2 = ((Range) f).valueTo;
return (Objects.equals(valueFrom, f2))
&& (Objects.equals(valueTo, t2));
return Objects.equals(valueFrom, f2)
&& Objects.equals(valueTo, t2);
} else {
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import java.util.List;

/**
* Values of the FROM clause of a SQL query.
*
* @author ioann
* @since 2017-08-16
*/
Expand Down
2 changes: 1 addition & 1 deletion checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<module name="JavadocVariable">
<property name="accessModifiers" value="public"/>
</module>
<module name="JavadocStyle"/>
<module name="SummaryJavadoc"/>

<!-- Checks for Naming Conventions. -->
<!-- See http://checkstyle.sf.net/config_naming.html -->
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
<maven.compiler.release>17</maven.compiler.release>

<!--dependency versions -->
<checkstyle.version>13.8.0</checkstyle.version>
<checkstyle.version>13.9.0</checkstyle.version>
<slf4j.version>2.0.18</slf4j.version>
<h2.version>2.4.240</h2.version>
<javacc.version>7.0.13</javacc.version>
Expand Down
Loading