MPLUGIN-89: Restore compat with Java 1.4
Submitted by: Benjamin Bentmann Reviewed by: Vincent Siveton o applied git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@634962 13f79535-47bb-0310-9956-ffa450edef68master
parent
d0a37aaa1c
commit
aaf7f10e1c
|
|
@ -183,7 +183,7 @@ public final class PluginUtils
|
|||
}
|
||||
catch ( DependencyResolutionRequiredException e )
|
||||
{
|
||||
throw new IllegalArgumentException( e );
|
||||
throw (RuntimeException) new IllegalArgumentException().initCause( e );
|
||||
}
|
||||
|
||||
List urls = new ArrayList( classPathStrings.size() );
|
||||
|
|
@ -195,7 +195,7 @@ public final class PluginUtils
|
|||
}
|
||||
catch ( MalformedURLException e )
|
||||
{
|
||||
throw new IllegalArgumentException( e );
|
||||
throw (RuntimeException) new IllegalArgumentException().initCause( e );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -195,7 +195,7 @@ public abstract class AbstractMojoTaglet
|
|||
}
|
||||
|
||||
String name = token2.nextToken();
|
||||
String value = token2.nextToken().replace( "\"", "" );
|
||||
String value = token2.nextToken().replaceAll( "\"", "" );
|
||||
|
||||
if ( getAllowedParameterNames() != null && !Arrays.asList( getAllowedParameterNames() ).contains( name ) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue