Skip to content

Commit

Permalink
Modify author info
Browse files Browse the repository at this point in the history
  • Loading branch information
nkorange committed Nov 30, 2018
1 parent c267295 commit e3e6682
Show file tree
Hide file tree
Showing 70 changed files with 72 additions and 73 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import com.alibaba.nacos.api.exception.NacosException;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class NamingFactory {

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

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public interface NamingService {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

/**
* event interface
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public interface Event {
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import com.alibaba.nacos.api.naming.pojo.Instance;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class NamingEvent implements Event {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import java.util.Objects;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public abstract class AbstractHealthChecker implements Cloneable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.util.Map;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class Cluster {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import java.util.Map;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class Instance {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.util.List;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class ListView<T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import java.util.Map;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class Service {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import java.util.List;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class ServiceInfo {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
import java.util.Properties;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
@SuppressWarnings("PMD.ServiceOrDaoClassShouldEndWithImplRule")
public class NacosNamingService implements NamingService {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import java.util.concurrent.*;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class FailoverReactor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.util.Map;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class BeatInfo {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import com.alibaba.nacos.client.naming.utils.LogUtils;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class ConcurrentDiskUtil {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package com.alibaba.nacos.client.naming.core;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class ProtectMode {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
import java.util.zip.GZIPInputStream;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class HttpClient {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
import java.util.concurrent.TimeUnit;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class NamingProxy {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.util.List;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class Chooser<K, T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import java.util.concurrent.atomic.AtomicInteger;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class GenericPoller<T> implements Poller<T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import java.util.zip.GZIPInputStream;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class IoUtils {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package com.alibaba.nacos.client.naming.utils;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class Pair<T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.List;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public interface Poller<T> {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import java.util.Locale;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class StringUtils {
public static boolean isEmpty(String str) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import java.util.Map;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class NamingTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ public class SystemUtils {
/**
* The System property name of prefer hostname over ip
*/
public static final String PREFER_HOSTNAME_OVER_IP_PROPERTY_NAME ="nacos.preferHostnameOverIp";
public static final String PREFER_HOSTNAME_OVER_IP_PROPERTY_NAME = "nacos.preferHostnameOverIp";
/**
* Flag to say that, when guessing a hostname, the hostname of the server should be
* used in preference to the IP address reported by the OS.
*/
public static final boolean PREFER_HOSTNAME_OVER_IP=Boolean.getBoolean(PREFER_HOSTNAME_OVER_IP_PROPERTY_NAME);
public static final boolean PREFER_HOSTNAME_OVER_IP = Boolean.getBoolean(PREFER_HOSTNAME_OVER_IP_PROPERTY_NAME);

/**
* Standalone mode or not
Expand Down Expand Up @@ -155,7 +155,7 @@ private static String getClusterConfFilePath() {
public static List<String> readClusterConf() throws IOException {
List<String> instanceList = new ArrayList<String>();
List<String> lines = IoUtils.readLines(
new InputStreamReader(new FileInputStream(new File(CLUSTER_CONF_FILE_PATH)), UTF_8));
new InputStreamReader(new FileInputStream(new File(CLUSTER_CONF_FILE_PATH)), UTF_8));
String comment = "#";
for (String line : lines) {
String instance = line.trim();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.UUID;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class UuidUtil {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

/**
* Running config
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
@Component
public class RunningConfigUtils implements ApplicationListener<WebServerInitializedEvent> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import com.alibaba.nacos.api.naming.listener.NamingEvent;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class NamingExample {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import java.util.Map;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
@Component
public class AuthChecker {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package com.alibaba.nacos.naming.acl;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class AuthInfo {
private String operator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@
import javax.servlet.ServletContext;

/**
* @author dungu.zpf
* @author nkorange
*/

@Component
public class RunningConfig implements ApplicationListener<WebServerInitializedEvent> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
import java.util.Map;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
@RestController

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import javax.servlet.http.HttpServletRequest;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
@RestController
@RequestMapping(UtilsAndCommons.NACOS_NAMING_CONTEXT + "/cluster")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package com.alibaba.nacos.naming.controllers;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class CmdbController {
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package com.alibaba.nacos.naming.controllers;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class HealthController {
}
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
import java.util.Map;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
@RestController
@RequestMapping(UtilsAndCommons.NACOS_NAMING_CONTEXT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
package com.alibaba.nacos.naming.controllers;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class OperatorController {
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import java.util.Map;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
@RestController
@RequestMapping(UtilsAndCommons.NACOS_NAMING_CONTEXT + "/service")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import java.util.concurrent.ConcurrentHashMap;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class Cluster extends com.alibaba.nacos.api.naming.pojo.Cluster implements Cloneable {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
import java.util.concurrent.TimeUnit;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public class DistroMapper {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import java.util.List;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
public interface Domain {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
import java.util.concurrent.locks.ReentrantLock;

/**
* @author dungu.zpf
* @author <a href="mailto:zpf[email protected]">nkorange</a>
*/
@Component
public class DomainsManager {
Expand Down
Loading

0 comments on commit e3e6682

Please sign in to comment.