mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-09 08:06:52 +01:00
fix wrong snapshot filter result
This commit is contained in:
@@ -84,11 +84,9 @@ public class DefaultPluginFilter implements PluginFilter
|
||||
{
|
||||
PluginCondition condition = plugin.getCondition();
|
||||
|
||||
return ((condition != null) && condition.isSupported(version, os, arch))
|
||||
|| (condition == null)
|
||||
&& (snapshot
|
||||
||!plugin.getVersion().toUpperCase().contains(
|
||||
VERSION_SNAPSHOT));
|
||||
return (snapshot ||!plugin.getVersion().toUpperCase().contains(
|
||||
VERSION_SNAPSHOT)) && ((condition != null) && condition.isSupported(
|
||||
version, os, arch) || (condition == null));
|
||||
}
|
||||
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user