Skip to content

Commit 7b97695

Browse files
committed
Removed @OverRide annotations added by the IDE when files were saved.
1 parent f385716 commit 7b97695

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

src/main/java/org/codehaus/plexus/interpolation/StringSearchInterpolator.java

-13
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public StringSearchInterpolator( String startExpr, String endExpr )
6161
/**
6262
* {@inheritDoc}
6363
*/
64-
@Override
6564
public void addValueSource( ValueSource valueSource )
6665
{
6766
valueSources.add( valueSource );
@@ -70,7 +69,6 @@ public void addValueSource( ValueSource valueSource )
7069
/**
7170
* {@inheritDoc}
7271
*/
73-
@Override
7472
public void removeValuesSource( ValueSource valueSource )
7573
{
7674
valueSources.remove( valueSource );
@@ -79,7 +77,6 @@ public void removeValuesSource( ValueSource valueSource )
7977
/**
8078
* {@inheritDoc}
8179
*/
82-
@Override
8380
public void addPostProcessor( InterpolationPostProcessor postProcessor )
8481
{
8582
postProcessors.add( postProcessor );
@@ -88,27 +85,23 @@ public void addPostProcessor( InterpolationPostProcessor postProcessor )
8885
/**
8986
* {@inheritDoc}
9087
*/
91-
@Override
9288
public void removePostProcessor( InterpolationPostProcessor postProcessor )
9389
{
9490
postProcessors.remove( postProcessor );
9591
}
9692

97-
@Override
9893
public String interpolate( String input, String thisPrefixPattern )
9994
throws InterpolationException
10095
{
10196
return interpolate( input, new SimpleRecursionInterceptor() );
10297
}
10398

104-
@Override
10599
public String interpolate( String input, String thisPrefixPattern, RecursionInterceptor recursionInterceptor )
106100
throws InterpolationException
107101
{
108102
return interpolate( input, recursionInterceptor );
109103
}
110104

111-
@Override
112105
public String interpolate( String input )
113106
throws InterpolationException
114107
{
@@ -121,7 +114,6 @@ public String interpolate( String input )
121114
*
122115
* TODO: Ensure unresolvable expressions don't trigger infinite recursion.
123116
*/
124-
@Override
125117
public String interpolate( String input, RecursionInterceptor recursionInterceptor )
126118
throws InterpolationException
127119
{
@@ -292,7 +284,6 @@ else if ( endIdx < input.length() )
292284
* @return a {@link List} that may be interspersed with {@link String} and
293285
* {@link Throwable} instances.
294286
*/
295-
@Override
296287
public List getFeedback()
297288
{
298289
List<?> messages = new ArrayList();
@@ -311,7 +302,6 @@ public List getFeedback()
311302
/**
312303
* Clear the feedback messages from previous interpolate(..) calls.
313304
*/
314-
@Override
315305
public void clearFeedback()
316306
{
317307
for ( ValueSource vs : valueSources )
@@ -320,19 +310,16 @@ public void clearFeedback()
320310
}
321311
}
322312

323-
@Override
324313
public boolean isCacheAnswers()
325314
{
326315
return cacheAnswers;
327316
}
328317

329-
@Override
330318
public void setCacheAnswers( boolean cacheAnswers )
331319
{
332320
this.cacheAnswers = cacheAnswers;
333321
}
334322

335-
@Override
336323
public void clearAnswers()
337324
{
338325
existingAnswers.clear();

src/test/java/org/codehaus/plexus/interpolation/StringSearchInterpolatorTest.java

-7
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public class StringSearchInterpolatorTest
3333
extends TestCase
3434
{
3535

36-
@Override
3736
@Before
3837
public void setUp()
3938
{
@@ -189,7 +188,6 @@ public void testShouldResolveByEnvar()
189188
{
190189
OperatingSystemUtils.setEnvVarSource( new OperatingSystemUtils.EnvVarSource()
191190
{
192-
@Override
193191
public Map<String, String> getEnvMap()
194192
{
195193
HashMap<String,String> map = new HashMap<String,String>();
@@ -220,7 +218,6 @@ public void testUsePostProcessor_DoesNotChangeValue()
220218

221219
rbi.addPostProcessor( new InterpolationPostProcessor()
222220
{
223-
@Override
224221
public Object execute( String expression, Object value )
225222
{
226223
return null;
@@ -245,7 +242,6 @@ public void testUsePostProcessor_ChangesValue()
245242

246243
rbi.addPostProcessor( new InterpolationPostProcessor()
247244
{
248-
@Override
249245
public Object execute( String expression, Object value )
250246
{
251247
return value + "2";
@@ -412,7 +408,6 @@ public void testInterruptedInterpolate()
412408
final boolean[] error = new boolean[] { false };
413409
interpolator.addValueSource( new ValueSource()
414410
{
415-
@Override
416411
public Object getValue( String expression ) {
417412
if ( expression.equals( "key" ) )
418413
{
@@ -427,12 +422,10 @@ public Object getValue( String expression ) {
427422
return null;
428423
}
429424
}
430-
@Override
431425
public List getFeedback()
432426
{
433427
return Collections.EMPTY_LIST;
434428
}
435-
@Override
436429
public void clearFeedback()
437430
{
438431
}

0 commit comments

Comments
 (0)