Skip to content

Commit da2d73b

Browse files
kohlschuetterslachiewicz
authored andcommitted
Add missing @OverRide statements; remove unnecessary import
Closes #66
1 parent 98ad2c7 commit da2d73b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/java/org/codehaus/mojo/templating/AbstractFilterSourcesMojo.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ public abstract class AbstractFilterSourcesMojo
7878
* Set of delimiters for expressions to filter within the resources. These delimiters are specified in the form
7979
* 'beginToken*endToken'. If no '*' is given, the delimiter is assumed to be the same for start and end. So, the
8080
* default filtering delimiters might be specified as:
81-
*
81+
*
8282
* <pre>
8383
* &lt;delimiters&gt;
8484
* &lt;delimiter&gt;${*}&lt;/delimiter&gt;
8585
* &lt;delimiter&gt;@&lt;/delimiter&gt;
8686
* &lt;/delimiters&gt;
8787
* </pre>
88-
*
88+
*
8989
* Since the '@' delimiter is the same on both ends, we don't need to specify '@*@' (though we can).
9090
*/
9191
@Parameter
@@ -123,6 +123,7 @@ public abstract class AbstractFilterSourcesMojo
123123
protected MavenResourcesFiltering mavenResourcesFiltering;
124124

125125
/** {@inheritDoc} */
126+
@Override
126127
public void execute()
127128
throws MojoExecutionException
128129
{

src/test/java/org/codehaus/mojo/templating/AbstractFilterSourcesMojoTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ private static class MockCopyAnswer
121121
implements Answer<Void>
122122
{
123123

124+
@Override
124125
public Void answer( InvocationOnMock invocation )
125126
throws Throwable
126127
{

0 commit comments

Comments
 (0)