Skip to content

Commit d649bc2

Browse files
committed
Merge branch 'DBTOOLS-1665-fix-docs' into 'master'
DBTOOLS-1665 fixed broken java-docs See merge request codekeeper/pgcodekeeper-core!41
2 parents 72908e3 + 01577a8 commit d649bc2

File tree

4 files changed

+6
-14
lines changed

4 files changed

+6
-14
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
<version>${maven.javadoc.version}</version>
138138
<configuration>
139139
<show>public</show>
140+
<doclint>all,-missing</doclint>
140141
</configuration>
141142
<executions>
142143
<execution>

src/main/java/org/pgcodekeeper/core/api/PgCodeKeeperApi.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,6 @@
3232

3333
/**
3434
* Main API class for pgCodeKeeper database operations.
35-
* <p>
36-
* This class provides static methods for the three core operations:
37-
* <ul>
38-
* <li>diff - comparing two databases and generating migration scripts</li>
39-
* <li>export - exporting database schema to project files</li>
40-
* <li>update - updating project with changes from database</li>
41-
* </ul>
42-
* Each operation supports optional filtering through ignore lists.
43-
* </p>
4435
*/
4536
public final class PgCodeKeeperApi {
4637

src/main/java/org/pgcodekeeper/core/parsers/antlr/expr/AbstractExprWithNmspc.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,13 +380,13 @@ protected void analyzeCte(With_clauseContext with) {
380380
*/
381381
protected boolean addCteSignature(With_queryContext withQuery, List<ModPair<String, String>> resultTypes) {
382382
String withName = withQuery.query_name.getText();
383-
List<IdentifierContext> paramNamesIdentifers = withQuery.column_name;
384-
for (int i = 0; i < paramNamesIdentifers.size(); ++i) {
383+
List<IdentifierContext> paramNamesIdentifiers = withQuery.column_name;
384+
for (int i = 0; i < paramNamesIdentifiers.size(); ++i) {
385385
if (i >= resultTypes.size()) {
386386
LOG.warn(Messages.AbstractExprWithNmspc_log_cte_contains_cols, withName);
387387
break;
388388
}
389-
resultTypes.get(i).setFirst(paramNamesIdentifers.get(i).getText());
389+
resultTypes.get(i).setFirst(paramNamesIdentifiers.get(i).getText());
390390
}
391391
List<Pair<String, String>> unmodifiable = resultTypes.stream()
392392
.map(Pair::copy)

src/main/java/org/pgcodekeeper/core/utils/FileUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public static void removeReadOnly(Path path) throws IOException {
103103

104104
/**
105105
* Sanitizes filename by removing invalid characters.
106-
* Removes characters: \ / : * ? " < > |
106+
* Removes characters: {@code \ / : * ? " < > |}
107107
*
108108
* @param name the filename to sanitize
109109
* @return sanitized filename with invalid characters removed
@@ -114,7 +114,7 @@ public static String sanitizeFilename(String name) {
114114

115115
/**
116116
* Gets valid filename by replacing invalid characters with underscores.
117-
* Replaces characters: \ / : * ? " < > | with '_'
117+
* Replaces characters: {@code \ / : * ? " < > | with '_'}
118118
*
119119
* @param name the filename to validate
120120
* @return valid filename with invalid characters replaced by underscores

0 commit comments

Comments
 (0)