diff options
author | Eric Barboni <skygo@apache.org> | 2014-04-11 23:16:01 +0200 |
---|---|---|
committer | Eric Barboni <skygo@apache.org> | 2014-04-11 23:16:01 +0200 |
commit | 4444ed0e1dd2a21682faca057ccdbb4e819bc16f (patch) | |
tree | 1cae41e2399e99182789755af4cac4cf10d24b06 /archiva-modules/archiva-base/archiva-plexus-bridge/src | |
parent | f23b74ade7d13e4442c7fa903fd9a6be003dae23 (diff) | |
download | archiva-4444ed0e1dd2a21682faca057ccdbb4e819bc16f.tar.gz archiva-4444ed0e1dd2a21682faca057ccdbb4e819bc16f.zip |
simplify varargs calls
Diffstat (limited to 'archiva-modules/archiva-base/archiva-plexus-bridge/src')
-rw-r--r-- | archiva-modules/archiva-base/archiva-plexus-bridge/src/main/java/org/apache/archiva/common/plexusbridge/PlexusSisuBridge.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/java/org/apache/archiva/common/plexusbridge/PlexusSisuBridge.java b/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/java/org/apache/archiva/common/plexusbridge/PlexusSisuBridge.java index d28b4495d..257b21689 100644 --- a/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/java/org/apache/archiva/common/plexusbridge/PlexusSisuBridge.java +++ b/archiva-modules/archiva-base/archiva-plexus-bridge/src/main/java/org/apache/archiva/common/plexusbridge/PlexusSisuBridge.java @@ -122,7 +122,7 @@ public class PlexusSisuBridge Method method = classLoader.getClass().getMethod( "getURLs", new Class[]{ } ); if ( method != null ) { - return (URL[]) method.invoke( classLoader, null ); + return (URL[]) method.invoke( classLoader ); } } catch ( Exception e ) |