Buggy code:
public class AetherBasedResolver implements MavenResolver { private static final Logger LOG = LoggerFactory . getLogger ( AetherBasedResolver . class ) ; private static final String LATEST_VERSION_RANGE = "(0.0,]" ; private static final String REPO_TYPE = "default" ; private final RepositorySystem m_repoSystem ; private final MavenConfiguration m_config ; private final MirrorSelector m_mirrorSelector ; private final ProxySelector m_proxySelector ; private final CloseableHttpClient m_client ; private Settings m_settings ; private ConfigurableSettingsDecrypter decrypter ; private LocalRepository localRepository ; private final ConcurrentMap < LocalRepository , Deque < RepositorySystemSession > > sessions = new ConcurrentHashMap < LocalRepository , Deque < RepositorySystemSession > > ( ) ; public AetherBasedResolver ( final MavenConfiguration configuration ) { } public AetherBasedResolver ( final MavenConfiguration configuration , final Mirror mirror ) { } @ Override public void close ( ) throws IOException { } private void decryptSettings ( ) { } private void assignProxyAndMirrors ( List < RemoteRepository > remoteRepos ) { } private String minUpdateInterval ( String interval1 , String interval2 ) { <START_BUG> AetherBasedResolver . LOG . warn ( "interval1:<seq2seq4repair_space>{},<seq2seq4repair_space>interval2:<seq2seq4repair_space>{}" , interval1 , interval2 ) ; <END_BUG> if ( interval1 == null ) { return interval2 ; } else if ( interval2 == null ) { return interval1 ; } int interval1InMin = getIntervalInMinutes ( interval1 ) ; int interval2InMin = getIntervalInMinutes ( interval2 ) ; if ( interval1InMin <= interval2InMin ) { return getUpdatePolicyInterval ( interval1InMin ) ; } else { return getUpdatePolicyInterval ( interval2InMin ) ; } } private int getIntervalInMinutes ( String interval ) { } private String getUpdatePolicyInterval ( int intervalInMin ) { } private String aggregateChecksumPolicy ( String policy1 , String policy2 ) { } private ProxySelector selectProxies ( ) { } private MirrorSelector selectMirrors ( Mirror mirror ) { } private List < RemoteRepository > selectRepositories ( ) { } List < LocalRepository > selectDefaultRepositories ( ) { } private void addSubDirs ( List < RemoteRepository > list , File parentDir ) { } private void addRepo ( List < RemoteRepository > list , MavenRepositoryURL repo ) { } private void addLocalSubDirs ( List < LocalRepository > list , File parentDir ) { } private void addLocalRepo ( List < LocalRepository > list , MavenRepositoryURL repo ) { } public RepositorySystem getRepositorySystem ( ) { } public List < RemoteRepository > getRepositories ( ) { } public File resolve ( String url ) throws IOException { } public File resolve ( String groupId , String artifactId , String classifier , String extension , String version ) throws IOException { } public File resolve ( String groupId , String artifactId , String classifier , String extension , String version , MavenRepositoryURL repositoryURL ) throws IOException { } public File resolve ( Artifact artifact ) throws IOException { } public File resolve ( Artifact artifact , MavenRepositoryURL repositoryURL ) throws IOException { } private File resolve ( List < LocalRepository > defaultRepos , List < RemoteRepository > remoteRepos , Artifact artifact ) throws IOException { } @ Override public File resolveMetadata ( String groupId , String artifactId , String type , String version ) throws IOException { } @ Override public void upload ( String groupId , String artifactId , String classifier , String extension , String version , File file ) throws IOException { } @ Override public void uploadMetadata ( String groupId , String artifactId , String type , String version , File file ) throws IOException { } private Comparator < String > VERSION_COMPARATOR = new Comparator < String > ( ) { @ Override public int compare ( String v1 , String v2 ) { } } ; private Comparator < SnapshotVersion > SNAPSHOT_VERSION_COMPARATOR = new Comparator < SnapshotVersion > ( ) { @ Override public int compare ( SnapshotVersion o1 , SnapshotVersion o2 ) { } } ; private String latestTimestamp ( String t1 , String t2 ) { } private String latestVersion ( String v1 , String v2 ) { } private Artifact resolveLatestVersionRange ( RepositorySystemSession session , List < RemoteRepository > remoteRepos , Artifact artifact ) throws VersionRangeResolutionException { } public RepositorySystemSession newSession ( ) { } private RepositorySystemSession newSession ( LocalRepository repo ) { } private void releaseSession ( RepositorySystemSession session ) { } private RepositorySystemSession createSession ( LocalRepository repo ) { } private void addServerConfig ( DefaultRepositorySystemSession session , Server server ) { } private Authentication getAuthentication ( Proxy proxy ) { } private Authentication getAuthentication ( String repoId ) { } private RepositorySystem newRepositorySystem ( ) { } }

Fix:
AetherBasedResolver . LOG . debug ( "interval1:<seq2seq4repair_space>{},<seq2seq4repair_space>interval2:<seq2seq4repair_space>{}" , interval1 , interval2 ) ;