Skip to content

Commit

Permalink
fix review issue. apache#3882
Browse files Browse the repository at this point in the history
  • Loading branch information
cvictory committed May 16, 2019
1 parent 84c3dde commit 477d652
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public final class StringUtils {
private static final Pattern INT_PATTERN = Pattern.compile("^\\d+$");
private static final int PAD_LIMIT = 8192;

protected StringUtils() {
private StringUtils() {
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import java.util.stream.Collectors;

/**
* @author cvictory ON 2019-04-17
* 2019-04-17
*/
@Deprecated
public class UrlUtils {
Expand All @@ -34,7 +34,7 @@ public static URL parseURL(String address, Map<String, String> defaults) {
}

public static List<URL> parseURLs(String address, Map<String, String> defaults) {
return UrlUtils.parseURLs(address, defaults).stream().map(e -> new URL(e)).collect(Collectors.toList());
return org.apache.dubbo.common.utils.UrlUtils.parseURLs(address, defaults).stream().map(e -> new URL(e)).collect(Collectors.toList());
}

public static Map<String, Map<String, String>> convertRegister(Map<String, Map<String, String>> register) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import java.util.stream.Collectors;

/**
* @author cvictory ON 2019-04-17
* 2019-04-17
*/
@Deprecated
public abstract class FailbackRegistry implements org.apache.dubbo.registry.Registry, Registry {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,52 +206,22 @@ private void removeFailedNotified(URL url, NotifyListener listener) {
}
}

/**
* remove public modifier.
*
* @return
* @since 2.7.2
*/
ConcurrentMap<URL, FailedRegisteredTask> getFailedRegistered() {
return failedRegistered;
}

/**
* remove public modifier.
*
* @return
* @since 2.7.2
*/
ConcurrentMap<URL, FailedUnregisteredTask> getFailedUnregistered() {
return failedUnregistered;
}

/**
* remove public modifier.
*
* @return
* @since 2.7.2
*/
ConcurrentMap<Holder, FailedSubscribedTask> getFailedSubscribed() {
return failedSubscribed;
}

/**
* remove public modifier.
*
* @return
* @since 2.7.2
*/
ConcurrentMap<Holder, FailedUnsubscribedTask> getFailedUnsubscribed() {
return failedUnsubscribed;
}

/**
* remove public modifier.
*
* @return
* @since 2.7.2
*/
ConcurrentMap<Holder, FailedNotifiedTask> getFailedNotified() {
return failedNotified;
}
Expand Down

0 comments on commit 477d652

Please sign in to comment.