Skip to content

Commit 55bcb4c

Browse files
committed
Addressed warnings shown while running 'mvn clean install'
1 parent 86495e2 commit 55bcb4c

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

src/main/java/com/diffblue/cover/annotations/InTestsMock.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
1615
package com.diffblue.cover.annotations;
1716

1817
import static com.diffblue.cover.annotations.MockDecision.RECOMMENDED;
@@ -40,6 +39,10 @@
4039
@Retention(CLASS)
4140
@Target({PACKAGE, TYPE, METHOD})
4241
@interface Repeatable {
42+
43+
/**
44+
* @return the repeated {@link InTestsMock} annotations.
45+
*/
4346
InTestsMock[] value();
4447
}
4548

src/main/java/com/diffblue/cover/annotations/InTestsMockConstruction.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
1615
package com.diffblue.cover.annotations;
1716

1817
import static com.diffblue.cover.annotations.MockDecision.RECOMMENDED;
@@ -40,6 +39,10 @@
4039
@Retention(CLASS)
4140
@Target({PACKAGE, TYPE, METHOD})
4241
@interface Repeatable {
42+
43+
/**
44+
* @return the repeated {@link InTestsMockConstruction} annotations.
45+
*/
4346
InTestsMockConstruction[] value();
4447
}
4548

src/main/java/com/diffblue/cover/annotations/InTestsMockStatic.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
1615
package com.diffblue.cover.annotations;
1716

1817
import static com.diffblue.cover.annotations.MockDecision.RECOMMENDED;
@@ -40,6 +39,10 @@
4039
@Retention(CLASS)
4140
@Target({PACKAGE, TYPE, METHOD})
4241
@interface Repeatable {
42+
43+
/**
44+
* @return the repeated {@link InTestsMockStatic} annotations.
45+
*/
4346
InTestsMockStatic[] value();
4447
}
4548

src/main/java/com/diffblue/cover/annotations/MockDecision.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@
1212
* express or implied. See the License for the specific language governing
1313
* permissions and limitations under the License.
1414
*/
15-
1615
package com.diffblue.cover.annotations;
1716

17+
/**
18+
* A decision indicating that a particular annotation indicating that mocking should be required vs
19+
* recommended vs allowed vs forbidden from mocking.
20+
*/
1821
public enum MockDecision {
22+
1923
/** Mocking is required, other instantiations are not permitted. */
2024
REQUIRED,
2125

0 commit comments

Comments
 (0)