Skip to content

Commit 1bf5868

Browse files
committed
Updated for seed 3.10+
1 parent aa94580 commit 1bf5868

File tree

62 files changed

+95
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+95
-99
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Version 3.1.2 (2020-08-05)
2+
3+
* [chg] Updated for seed 3.10+
4+
15
# Version 3.1.1 (2020-02-05)
26

37
* [fix] Fix `BaseMorphiaRepository.get(id)` always returning the first document from the collection (ignoring given id).

checkstyle.xml

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0"?>
22
<!--
33
4-
Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
4+
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
55
66
This Source Code Form is subject to the terms of the Mozilla Public
77
License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -23,6 +23,11 @@
2323
<property name="eachLine" value="true"/>
2424
</module>
2525

26+
<module name="LineLength">
27+
<property name="max" value="120"/>
28+
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
29+
</module>
30+
2631
<module name="TreeWalker">
2732
<module name="OuterTypeFilename"/>
2833
<module name="IllegalTokenText">
@@ -37,10 +42,6 @@
3742
<property name="allowByTailComment" value="true"/>
3843
<property name="allowNonPrintableEscapes" value="true"/>
3944
</module>
40-
<module name="LineLength">
41-
<property name="max" value="120"/>
42-
<property name="ignorePattern" value="^package.*|^import.*|a href|href|http://|https://|ftp://"/>
43-
</module>
4445
<module name="AvoidStarImport"/>
4546
<module name="OneTopLevelClass"/>
4647
<module name="NoLineWrap"/>
@@ -205,24 +206,22 @@
205206
</module>
206207
<module name="NonEmptyAtclauseDescription"/>
207208
<module name="JavadocTagContinuationIndentation"/>
208-
<!--<module name="SummaryJavadoc">-->
209-
<!--<property name="forbiddenSummaryFragments"-->
210-
<!--value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>-->
211-
<!--</module>-->
209+
<module name="SummaryJavadoc">
210+
<property name="forbiddenSummaryFragments"
211+
value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/>
212+
</module>
212213
<module name="JavadocParagraph"/>
213214
<module name="AtclauseOrder">
214215
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
215216
<property name="target" value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
216217
</module>
217-
<module name="JavadocMethod">
218-
<property name="scope" value="public"/>
219-
<property name="allowMissingParamTags" value="true"/>
220-
<property name="allowMissingThrowsTags" value="true"/>
221-
<property name="allowMissingReturnTag" value="true"/>
218+
<module name="MissingJavadocMethodCheck">
222219
<property name="allowMissingPropertyJavadoc" value="true"/>
223220
<property name="minLineCount" value="2"/>
221+
</module>
222+
<module name="JavadocMethod">
223+
<property name="scope" value="public"/>
224224
<property name="allowedAnnotations" value="Override, Test"/>
225-
<property name="allowThrowsTagsForSubclasses" value="true"/>
226225
</module>
227226
<module name="MethodName">
228227
<property name="format" value="^[a-z][a-z0-9][a-zA-Z0-9_]*$"/>

core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!--
22
3-
Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
3+
Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
44
55
This Source Code Form is subject to the terms of the Mozilla Public
66
License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -14,7 +14,7 @@
1414
<parent>
1515
<groupId>org.seedstack.addons.mongodb</groupId>
1616
<artifactId>mongodb</artifactId>
17-
<version>3.1.1-SNAPSHOT</version>
17+
<version>3.1.2-SNAPSHOT</version>
1818
</parent>
1919

2020
<artifactId>mongodb-core</artifactId>

core/src/main/java/org/seedstack/mongodb/MongoDbConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

core/src/main/java/org/seedstack/mongodb/internal/AbstractMongoDbManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

core/src/main/java/org/seedstack/mongodb/internal/AsyncMongoDbManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

core/src/main/java/org/seedstack/mongodb/internal/MongoDbErrorCode.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

core/src/main/java/org/seedstack/mongodb/internal/MongoDbManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

core/src/main/java/org/seedstack/mongodb/internal/MongoDbModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

core/src/main/java/org/seedstack/mongodb/internal/MongoDbPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright © 2013-2019, The SeedStack authors <http://seedstack.org>
2+
* Copyright © 2013-2020, The SeedStack authors <http://seedstack.org>
33
*
44
* This Source Code Form is subject to the terms of the Mozilla Public
55
* License, v. 2.0. If a copy of the MPL was not distributed with this

0 commit comments

Comments
 (0)