package com.liferay.sync.engine.util;
import java.util.HashMap;
import java.util.Map;
public class RetryUtil {
<BUG>public static int getRetryCount(long syncAccountId) {
return _counts.get(syncAccountId);
}
public static long incrementRetryDelay(long syncAccountId) {
int count = 0;
if (_counts.containsKey(syncAccountId)) {
count = _counts.get(syncAccountId);
}</BUG>
count++;

package com.liferay.sync.engine.util;
import java.util.HashMap;
import java.util.Map;
public class RetryUtil {
public static int getRetryCount(long syncAccountId) {
if (_counts.containsKey(syncAccountId)) {
return _counts.get(syncAccountId);
}
return 0;
}
public static long incrementRetryDelay(long syncAccountId) {
int count = getRetryCount(syncAccountId);
count++;
