diff --git a/pom.xml b/pom.xml index ea7becd..db43a71 100644 --- a/pom.xml +++ b/pom.xml @@ -43,6 +43,19 @@ + + org.apache.felix + maven-bundle-plugin + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + private + true + + org.apache.maven.plugins maven-surefire-plugin @@ -52,10 +65,6 @@ - - org.apache.felix - maven-bundle-plugin - diff --git a/src/main/java/org/ice4j/ice/CandidatePair.java b/src/main/java/org/ice4j/ice/CandidatePair.java index 7a126f3..902e804 100644 --- a/src/main/java/org/ice4j/ice/CandidatePair.java +++ b/src/main/java/org/ice4j/ice/CandidatePair.java @@ -111,8 +111,8 @@ public class CandidatePair /** * The {@link TransactionID} of the client transaction for a connectivity - * check over this pair in case it is in the {@link CandidatePairState# - * IN_PROGRESS} state. + * check over this pair in case it is in the + * {@link CandidatePairState#IN_PROGRESS} state. */ private TransactionID connCheckTranID = null; diff --git a/src/main/java/org/ice4j/ice/CandidatePrioritizer.java b/src/main/java/org/ice4j/ice/CandidatePrioritizer.java index c10f027..b818bf0 100644 --- a/src/main/java/org/ice4j/ice/CandidatePrioritizer.java +++ b/src/main/java/org/ice4j/ice/CandidatePrioritizer.java @@ -79,11 +79,12 @@ class CandidatePrioritizer * comp1.equals(comp2) implies that * sgn(comp1.compare(o1, o2))==sgn(comp2.compare(o1, o2)) for * every object reference o1 and o2.

- *

+ *

* Note that it is always safe not to override * Object.equals(Object). However, overriding this method may, * in some cases, improve performance by allowing programs to determine * that two distinct Comparators impose the same order. + *

* * @param obj the reference object with which to compare. * diff --git a/src/main/java/org/ice4j/ice/harvest/HostCandidateHarvester.java b/src/main/java/org/ice4j/ice/harvest/HostCandidateHarvester.java index 9592057..dc24eef 100644 --- a/src/main/java/org/ice4j/ice/harvest/HostCandidateHarvester.java +++ b/src/main/java/org/ice4j/ice/harvest/HostCandidateHarvester.java @@ -492,7 +492,7 @@ public class HostCandidateHarvester * @return the newly created DatagramSocket. * * @throws IllegalArgumentException if either minPort or - * maxPort is not a valid port number or if minPort > + * maxPort is not a valid port number or if minPort > * maxPort. * @throws IOException if an error occurs while the underlying resolver lib * is using sockets. @@ -577,7 +577,7 @@ public class HostCandidateHarvester * @return the newly created DatagramSocket. * * @throws IllegalArgumentException if either minPort or - * maxPort is not a valid port number or if minPort > + * maxPort is not a valid port number or if minPort > * maxPort. * @throws IOException if an error occurs while the underlying resolver lib * is using sockets. diff --git a/src/main/java/org/ice4j/ice/harvest/StunCandidateHarvest.java b/src/main/java/org/ice4j/ice/harvest/StunCandidateHarvest.java index edada37..a5c3660 100644 --- a/src/main/java/org/ice4j/ice/harvest/StunCandidateHarvest.java +++ b/src/main/java/org/ice4j/ice/harvest/StunCandidateHarvest.java @@ -1433,7 +1433,7 @@ public class StunCandidateHarvest * instance. The StunCandidateHarvest is referenced by a * WeakReference in an attempt to reduce the risk that the * Thread may live regardless of the fact that the specified - * StunCandidateHarvest may no longer be reachable. + * StunCandidateHarvest may no longer be reachable. */ private final WeakReference harvest; diff --git a/src/main/java/org/ice4j/stack/EventDispatcher.java b/src/main/java/org/ice4j/stack/EventDispatcher.java index 7f27c38..12e8382 100644 --- a/src/main/java/org/ice4j/stack/EventDispatcher.java +++ b/src/main/java/org/ice4j/stack/EventDispatcher.java @@ -45,7 +45,7 @@ public class EventDispatcher * The Map of EventDispatchers which keep the * registrations of STUN request and indication listeners registered for * STUN requests and indications from specific local - * TransportAddresses. + * TransportAddresses. */ private final Map children = new Hashtable<>(); diff --git a/src/main/java/org/ice4j/util/Logger.java b/src/main/java/org/ice4j/util/Logger.java index a67cc12..206909b 100644 --- a/src/main/java/org/ice4j/util/Logger.java +++ b/src/main/java/org/ice4j/util/Logger.java @@ -88,7 +88,7 @@ public class Logger /** * Checks whether messages with a particular level should be logged - * according to the log level configured for this {@link Logger.} + * according to the log level configured for this {@link Logger}. * @param level the log level. */ public boolean isLoggable(Level level) @@ -131,7 +131,7 @@ public class Logger } /** - * Logs a message with level {@link Level.SEVERE}, if that level is + * Logs a message with level {@link Level#SEVERE}, if that level is * loggable according to the log level configured for this {@link Logger}. * @param msg the message to log. */ @@ -141,7 +141,7 @@ public class Logger } /** - * Logs a message with level {@link Level.WARNING}, if that level is + * Logs a message with level {@link Level#WARNING}, if that level is * loggable according to the log level configured for this {@link Logger}. * @param msg the message to log. */ @@ -151,7 +151,7 @@ public class Logger } /** - * Logs a message with level {@link Level.INFO}, if that level is + * Logs a message with level {@link Level#INFO}, if that level is * loggable according to the log level configured for this {@link Logger}. * @param msg the message to log. */ @@ -161,7 +161,7 @@ public class Logger } /** - * Logs a message with level {@link Level.CONFIG}, if that level is + * Logs a message with level {@link Level#CONFIG}, if that level is * loggable according to the log level configured for this {@link Logger}. * @param msg the message to log. */ @@ -171,7 +171,7 @@ public class Logger } /** - * Logs a message with level {@link Level.FINE}, if that level is + * Logs a message with level {@link Level#FINE}, if that level is * loggable according to the log level configured for this {@link Logger}. * @param msg the message to log. */ @@ -181,7 +181,7 @@ public class Logger } /** - * Logs a message with level {@link Level.FINER}, if that level is + * Logs a message with level {@link Level#FINER}, if that level is * loggable according to the log level configured for this {@link Logger}. * @param msg the message to log. */ @@ -191,7 +191,7 @@ public class Logger } /** - * Logs a message with level {@link Level.FINEST}, if that level is + * Logs a message with level {@link Level#FINEST}, if that level is * loggable according to the log level configured for this {@link Logger}. * @param msg the message to log. */