This is an automated email from the ASF dual-hosted git repository. prhomberg pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/develop by this push: new 5707de5 GEODE-4954, GEODE-4955: Remove trivial javadoc stubs and empty blocks: non geode-core module tests (#1788) 5707de5 is described below commit 5707de5e0edea1ae94b1f5c99d62b2fb6700f0d2 Author: Patrick Rhomberg <prhomb...@pivotal.io> AuthorDate: Fri Apr 13 14:00:41 2018 -0700 GEODE-4954, GEODE-4955: Remove trivial javadoc stubs and empty blocks: non geode-core module tests (#1788) --- .../session/internal/filter/AbstractListener.java | 2 -- .../session/internal/filter/BasicServlet.java | 3 --- .../filter/HttpSessionAttributeListenerImpl.java | 3 --- .../session/internal/filter/RendezvousManager.java | 3 --- .../filter/ServletRequestAttributeListenerImpl.java | 2 -- .../geode/modules/session/EmbeddedTomcat8.java | 3 --- .../apache/geode/modules/session/CommandServlet.java | 7 ------- .../apache/geode/modules/session/EmbeddedTomcat.java | 3 --- .../commands/LauncherLifecycleCommandsDUnitTest.java | 1 - .../geode/cache/query/cq/dunit/CqDataDUnitTest.java | 12 ------------ .../geode/cache/query/cq/dunit/CqPerfDUnitTest.java | 6 ------ .../query/cq/dunit/CqPerfUsingPoolDUnitTest.java | 6 ------ .../geode/cache/query/cq/dunit/CqQueryDUnitTest.java | 20 -------------------- .../cq/dunit/CqResultSetUsingPoolDUnitTest.java | 11 ----------- ...qResultSetUsingPoolOptimizedExecuteDUnitTest.java | 1 - .../geode/cache/query/cq/dunit/CqStatsDUnitTest.java | 2 -- .../query/cq/dunit/CqStatsUsingPoolDUnitTest.java | 2 -- .../cache/query/cq/dunit/CqTimeTestListener.java | 3 --- .../cache/query/cq/dunit/PrCqUsingPoolDUnitTest.java | 1 - .../query/dunit/QueryIndexUpdateRIDUnitTest.java | 10 ---------- .../cache/query/dunit/QueryMonitorDUnitTest.java | 1 - .../geode/internal/cache/ha/CQListGIIDUnitTest.java | 1 - .../tier/sockets/DurableClientSimpleDUnitTest.java | 1 - .../cache/tier/sockets/DurableClientTestCase.java | 4 ---- .../management/CacheServerManagementDUnitTest.java | 10 ---------- .../IndexRepositoryImplPerformanceTest.java | 1 - .../LuceneIndexXmlParserIntegrationJUnitTest.java | 1 - .../tools/pulse/tests/junit/BaseServiceTest.java | 1 - .../apache/geode/internal/cache/wan/WANTestBase.java | 4 ---- .../ConcurrentParallelGatewaySenderDUnitTest.java | 7 ------- ...ntParallelGatewaySenderOperation_1_DUnitTest.java | 6 ------ ...ntParallelGatewaySenderOperation_2_DUnitTest.java | 3 --- ...urrentSerialGatewaySenderOperationsDUnitTest.java | 3 --- .../ConcurrentWANPropagation_1_DUnitTest.java | 7 ------- .../misc/CommonParallelGatewaySenderDUnitTest.java | 3 --- ...icatedRegion_ParallelWANPropagationDUnitTest.java | 3 --- .../cache/wan/misc/WANConfigurationJUnitTest.java | 2 -- .../cache/wan/misc/WanAutoDiscoveryDUnitTest.java | 2 -- .../cache/wan/misc/WanValidationsDUnitTest.java | 13 ++++--------- .../wan/parallel/ParallelWANConflationDUnitTest.java | 4 ---- ...lWANPersistenceEnabledGatewaySenderDUnitTest.java | 1 - ...ParallelWANPropagationConcurrentOpsDUnitTest.java | 2 -- .../parallel/ParallelWANPropagationDUnitTest.java | 6 ------ .../wan/parallel/ParallelWANStatsDUnitTest.java | 1 - .../SerialGatewaySenderOperationsDUnitTest.java | 3 --- ...lWANPersistenceEnabledGatewaySenderDUnitTest.java | 3 --- .../cache/wan/serial/SerialWANStatsDUnitTest.java | 1 - 47 files changed, 4 insertions(+), 191 deletions(-) diff --git a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/AbstractListener.java b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/AbstractListener.java index 6e5a9c1..a8a5cbe 100644 --- a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/AbstractListener.java +++ b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/AbstractListener.java @@ -20,8 +20,6 @@ import java.util.List; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; -/** - */ public abstract class AbstractListener { protected final List<ListenerEventType> events = new ArrayList<ListenerEventType>(); diff --git a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/BasicServlet.java b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/BasicServlet.java index 528c68d..197bf0d 100644 --- a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/BasicServlet.java +++ b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/BasicServlet.java @@ -25,9 +25,6 @@ import javax.servlet.http.HttpServletResponse; import org.eclipse.jetty.servlet.DefaultServlet; -/** - * - */ public class BasicServlet extends DefaultServlet { Callback callback = null; diff --git a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/HttpSessionAttributeListenerImpl.java b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/HttpSessionAttributeListenerImpl.java index ce688c3..7a5467a 100644 --- a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/HttpSessionAttributeListenerImpl.java +++ b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/HttpSessionAttributeListenerImpl.java @@ -18,9 +18,6 @@ package org.apache.geode.modules.session.internal.filter; import javax.servlet.http.HttpSessionAttributeListener; import javax.servlet.http.HttpSessionBindingEvent; -/** - * - */ public class HttpSessionAttributeListenerImpl extends AbstractListener implements HttpSessionAttributeListener { diff --git a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/RendezvousManager.java b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/RendezvousManager.java index e3b6c61..18cb6f6 100644 --- a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/RendezvousManager.java +++ b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/RendezvousManager.java @@ -18,9 +18,6 @@ package org.apache.geode.modules.session.internal.filter; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; -/** - * - */ public class RendezvousManager { private static AbstractListener listener = null; diff --git a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/ServletRequestAttributeListenerImpl.java b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/ServletRequestAttributeListenerImpl.java index 22d6842..e622342 100644 --- a/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/ServletRequestAttributeListenerImpl.java +++ b/extensions/geode-modules-session/src/test/java/org/apache/geode/modules/session/internal/filter/ServletRequestAttributeListenerImpl.java @@ -18,8 +18,6 @@ package org.apache.geode.modules.session.internal.filter; import javax.servlet.ServletRequestAttributeEvent; import javax.servlet.ServletRequestAttributeListener; -/** - */ public class ServletRequestAttributeListenerImpl extends AbstractListener implements ServletRequestAttributeListener { diff --git a/extensions/geode-modules-tomcat8/src/test/java/org/apache/geode/modules/session/EmbeddedTomcat8.java b/extensions/geode-modules-tomcat8/src/test/java/org/apache/geode/modules/session/EmbeddedTomcat8.java index 132cac3..951d421 100644 --- a/extensions/geode-modules-tomcat8/src/test/java/org/apache/geode/modules/session/EmbeddedTomcat8.java +++ b/extensions/geode-modules-tomcat8/src/test/java/org/apache/geode/modules/session/EmbeddedTomcat8.java @@ -38,9 +38,6 @@ import org.apache.juli.logging.LogFactory; import org.apache.geode.modules.session.catalina.JvmRouteBinderValve; -/** - * - */ public class EmbeddedTomcat8 { private String contextPath = null; diff --git a/extensions/geode-modules/src/test/java/org/apache/geode/modules/session/CommandServlet.java b/extensions/geode-modules/src/test/java/org/apache/geode/modules/session/CommandServlet.java index 7bdd569..548bac9 100644 --- a/extensions/geode-modules/src/test/java/org/apache/geode/modules/session/CommandServlet.java +++ b/extensions/geode-modules/src/test/java/org/apache/geode/modules/session/CommandServlet.java @@ -26,9 +26,6 @@ import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; -/** - * - */ public class CommandServlet extends HttpServlet { private ServletContext context; @@ -36,9 +33,6 @@ public class CommandServlet extends HttpServlet { /** * The standard servlet method overridden. * - * @param request - * @param response - * @throws IOException */ @Override protected void doGet(HttpServletRequest request, HttpServletResponse response) @@ -87,7 +81,6 @@ public class CommandServlet extends HttpServlet { /** * Save a reference to the ServletContext for later use. * - * @param config */ @Override public void init(ServletConfig config) { diff --git a/extensions/geode-modules/src/test/java/org/apache/geode/modules/session/EmbeddedTomcat.java b/extensions/geode-modules/src/test/java/org/apache/geode/modules/session/EmbeddedTomcat.java index f78c92e..aa4496c 100644 --- a/extensions/geode-modules/src/test/java/org/apache/geode/modules/session/EmbeddedTomcat.java +++ b/extensions/geode-modules/src/test/java/org/apache/geode/modules/session/EmbeddedTomcat.java @@ -38,9 +38,6 @@ import org.apache.juli.logging.LogFactory; import org.apache.geode.modules.session.catalina.JvmRouteBinderValve; -/** - * - */ public class EmbeddedTomcat { private String contextPath = null; diff --git a/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/LauncherLifecycleCommandsDUnitTest.java b/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/LauncherLifecycleCommandsDUnitTest.java index df241d1..e6e6a3a 100644 --- a/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/LauncherLifecycleCommandsDUnitTest.java +++ b/geode-assembly/src/test/java/org/apache/geode/management/internal/cli/commands/LauncherLifecycleCommandsDUnitTest.java @@ -403,7 +403,6 @@ public class LauncherLifecycleCommandsDUnitTest extends CliCommandTestBase { /** * Test to verify GEODE-2138 * - * @throws IOException */ @Test public void testVersionTitleForStartServerAndLocator() throws IOException { diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqDataDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqDataDUnitTest.java index 71e6c29..bd5d003 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqDataDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqDataDUnitTest.java @@ -89,7 +89,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { * of InterestList the events are not sent back to the client if its the originator, this is not * true for cq. * - * @throws Exception */ @Test public void testClientWithFeederAndCQ() throws Exception { @@ -127,7 +126,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ Fail over/HA with redundancy level set. * - * @throws Exception */ @Test public void testCQHAWithState() throws Exception { @@ -252,7 +250,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { /** * Tests propogation of invalidates and destorys to the clients. Bug 37242. * - * @throws Exception */ @Test public void testCQWithDestroysAndInvalidates() throws Exception { @@ -381,7 +378,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ when region is populated with net load. * - * @throws Exception */ @Test public void testCQWithLoad() throws Exception { @@ -434,7 +430,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ when entries are evicted from region. * - * @throws Exception */ @Test public void testCQWithEviction() throws Exception { @@ -507,7 +502,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ with ConnectionPool. * - * @throws Exception */ @Test public void testCQWithConnectionPool() throws Exception { @@ -569,7 +563,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ with BridgeClient. * - * @throws Exception */ @Test public void testCQWithBridgeClient() throws Exception { @@ -628,7 +621,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ with ConnectionPool. * - * @throws Exception */ @Test public void testCQWithPool() throws Exception { @@ -686,7 +678,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ with establishCallBackConnection. * - * @throws Exception */ @Test public void testCQWithEstablishCallBackConnection() throws Exception { @@ -754,7 +745,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { * Test for: Region destroy, calls close on the server. Region clear triggers cqEvent with query * op region clear. Region invalidate triggers cqEvent with query op region invalidate. * - * @throws Exception */ @Test public void testRegionEvents() throws Exception { @@ -836,7 +826,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { * not be reflected in the query result set thus making the query data and region data * inconsistent. * - * @throws Exception */ @Test public void testEventsDuringQueryExecution() throws Exception { @@ -972,7 +961,6 @@ public class CqDataDUnitTest extends JUnit4CacheTestCase { * is implemented) A third thread will be awaken and release the latch in the testhook for TC1 to * complete. * - * @throws Exception */ @Test public void testMultipleExecuteWithInitialResults() throws Exception { diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqPerfDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqPerfDUnitTest.java index 2a7cdc9..44396d9 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqPerfDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqPerfDUnitTest.java @@ -79,7 +79,6 @@ public class CqPerfDUnitTest extends JUnit4CacheTestCase { /** * Tests the cq performance. * - * @throws Exception */ @Ignore("perf") @Test @@ -190,7 +189,6 @@ public class CqPerfDUnitTest extends JUnit4CacheTestCase { /** * Test for maintaining keys for update optimization. * - * @throws Exception */ @Test public void testKeyMaintainance() throws Exception { @@ -412,7 +410,6 @@ public class CqPerfDUnitTest extends JUnit4CacheTestCase { * Test for common CQs. To test the changes relating to, executing CQ only once for all similar * CQs. * - * @throws Exception */ @Category(FlakyTest.class) // GEODE-1164: random ports, thread sleeps, time sensitive, eats // exceptions (fixed 1), async behavior @@ -515,7 +512,6 @@ public class CqPerfDUnitTest extends JUnit4CacheTestCase { * Test for common CQs. To test the changes relating to, executing CQ only once for all similar * CQs. * - * @throws Exception */ @Test public void testMatchingCQWithMultipleClients() throws Exception { @@ -819,7 +815,6 @@ public class CqPerfDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ Fail over. * - * @throws Exception */ @Test public void testMatchingCQsOnDataNodeWithMultipleServers() throws Exception { @@ -873,7 +868,6 @@ public class CqPerfDUnitTest extends JUnit4CacheTestCase { /** * Performance test for Matching CQ optimization changes. * - * @throws Exception */ @Ignore("perf") @Test diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqPerfUsingPoolDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqPerfUsingPoolDUnitTest.java index 02c4b11..31c51aa 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqPerfUsingPoolDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqPerfUsingPoolDUnitTest.java @@ -81,7 +81,6 @@ public class CqPerfUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests the cq performance. * - * @throws Exception */ @Ignore("perf") @Test @@ -192,7 +191,6 @@ public class CqPerfUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Test for maintaining keys for update optimization. * - * @throws Exception */ @Test public void testKeyMaintenance() throws Exception { @@ -414,7 +412,6 @@ public class CqPerfUsingPoolDUnitTest extends JUnit4CacheTestCase { * Test for common CQs. To test the changes relating to, executing CQ only once for all similar * CQs. * - * @throws Exception */ @Test public void testMatchingCqs() throws Exception { @@ -529,7 +526,6 @@ public class CqPerfUsingPoolDUnitTest extends JUnit4CacheTestCase { * Test for common CQs. To test the changes relating to, executing CQ only once for all similar * CQs. * - * @throws Exception */ @Test public void testMatchingCQWithMultipleClients() throws Exception { @@ -690,7 +686,6 @@ public class CqPerfUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ Fail over. * - * @throws Exception */ @Test public void testMatchingCQsWithMultipleServers() throws Exception { @@ -853,7 +848,6 @@ public class CqPerfUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Performance test for Matching CQ optimization changes. * - * @throws Exception */ @Ignore("perf") @Test diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqQueryDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqQueryDUnitTest.java index 6369ae7..3e5b6ab 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqQueryDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqQueryDUnitTest.java @@ -1647,7 +1647,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { /** * Test for InterestList and CQ registered from same clients. * - * @throws Exception */ @Test public void testInterestListAndCQs() throws Exception { @@ -1807,7 +1806,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ register and UnRegister. * - * @throws Exception */ @Test public void testCQStopExecute() throws Exception { @@ -1881,7 +1879,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ Attributes Mutator functions * - * @throws Exception */ @Test public void testCQAttributesMutator() throws Exception { @@ -1954,7 +1951,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ register and UnRegister. * - * @throws Exception */ @Test public void testCQCreateClose() throws Exception { @@ -2549,7 +2545,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { /** * Test for stopping and restarting CQs. * - * @throws Exception */ @Test public void testEnableDisableCQ() throws Exception { @@ -2669,7 +2664,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { /** * Test for Complex queries. * - * @throws Exception */ @Test public void testQuery() throws Exception { @@ -2712,7 +2706,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ Fail over. * - * @throws Exception */ @Test public void testCQFailOver() throws Exception { @@ -2800,7 +2793,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ Fail over/HA with redundancy level set. * - * @throws Exception */ @Test public void testCQHA() throws Exception { @@ -2899,7 +2891,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { * Test without CQs. This was added after an exception encountered with CQService, when there was * no CQService intiated. * - * @throws Exception */ @Test public void testWithoutCQs() throws Exception { @@ -3071,7 +3062,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { /** * Tests execution of queries with NULL in where clause like where ID = NULL etc. * - * @throws Exception */ @Test public void testQueryWithNULLInWhereClause() throws Exception { @@ -3119,7 +3109,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { /** * Tests execution of queries with NULL in where clause like where ID = NULL etc. * - * @throws Exception */ @Test public void testForSupportedRegionAttributes() throws Exception { @@ -3218,9 +3207,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { } - /** - * - */ @Test public void testCQWhereCondOnShort() throws Exception { @@ -3251,9 +3237,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { closeServer(server); } - /** - * - */ @Test public void testCQEquals() throws Exception { @@ -3306,9 +3289,6 @@ public class CqQueryDUnitTest extends JUnit4CacheTestCase { closeServer(server); } - /** - * - */ @Test public void testCQEqualsWithIndex() throws Exception { diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqResultSetUsingPoolDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqResultSetUsingPoolDUnitTest.java index e79a95b..4d7b95b 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqResultSetUsingPoolDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqResultSetUsingPoolDUnitTest.java @@ -125,7 +125,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Set. * - * @throws Exception */ @Test public void testCqResults() throws Exception { @@ -180,7 +179,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Set with Compact Range Index. * - * @throws Exception */ @Test public void testCqResultsWithCompactRangeIndex() throws Exception { @@ -225,7 +223,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Set with Range Index. * - * @throws Exception */ @Test public void testCqResultsWithRangeIndex() throws Exception { @@ -284,7 +281,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Set. * - * @throws Exception */ @Test public void testCqResultsOnPR() throws Exception { @@ -341,7 +337,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Set with Compact Range Index. * - * @throws Exception */ @Test public void testCqResultsWithCompactRangeIndexOnPR() throws Exception { @@ -390,7 +385,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Set with Range Index. * - * @throws Exception */ @Test public void testCqResultsWithRangeIndexOnPR() throws Exception { @@ -463,7 +457,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Set. * - * @throws Exception */ @Test public void testCqResultsCaching() throws Exception { @@ -585,7 +578,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Set. * - * @throws Exception */ @Test public void testCqResultsCachingForMultipleCQs() throws Exception { @@ -712,7 +704,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Set. * - * @throws Exception */ @Test public void testCqResultsCachingForPR() throws Exception { @@ -808,7 +799,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Set caching for destroy events. * - * @throws Exception */ @Test public void testCqResultsCachingForDestroyEventsOnPR() throws Exception { @@ -927,7 +917,6 @@ public class CqResultSetUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Tests CQ Result Caching with CQ Failover. * - * @throws Exception */ @Category(FlakyTest.class) // GEODE-1251 @Test diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqResultSetUsingPoolOptimizedExecuteDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqResultSetUsingPoolOptimizedExecuteDUnitTest.java index 2699a6d..bab8803 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqResultSetUsingPoolOptimizedExecuteDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqResultSetUsingPoolOptimizedExecuteDUnitTest.java @@ -72,7 +72,6 @@ public class CqResultSetUsingPoolOptimizedExecuteDUnitTest extends CqResultSetUs * Tests CQ Result Caching with CQ Failover. When EXECUTE_QUERY_DURING_INIT is false and new * server calls execute during HA the results cache is not initialized. * - * @throws Exception */ @Override @Test diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqStatsDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqStatsDUnitTest.java index 7333b51..4f5755f 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqStatsDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqStatsDUnitTest.java @@ -239,7 +239,6 @@ public class CqStatsDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ and CQ Service Statistics * - * @throws Exception */ @Test public void testCQStatistics() throws Exception { @@ -319,7 +318,6 @@ public class CqStatsDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ Service Statistics * - * @throws Exception */ @Test public void testCQServiceStatistics() throws Exception { diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqStatsUsingPoolDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqStatsUsingPoolDUnitTest.java index 63706f7..5fe8daf 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqStatsUsingPoolDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqStatsUsingPoolDUnitTest.java @@ -248,7 +248,6 @@ public class CqStatsUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ and CQ Service Statistics * - * @throws Exception */ @Test public void testCQStatistics() throws Exception { @@ -337,7 +336,6 @@ public class CqStatsUsingPoolDUnitTest extends JUnit4CacheTestCase { /** * Test for CQ Service Statistics * - * @throws Exception */ @Test public void testCQServiceStatistics() throws Exception { diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqTimeTestListener.java b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqTimeTestListener.java index 9371b8c..20b87fb 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqTimeTestListener.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/CqTimeTestListener.java @@ -26,9 +26,6 @@ import org.apache.geode.cache.query.data.Portfolio; import org.apache.geode.test.dunit.Wait; import org.apache.geode.test.dunit.WaitCriterion; -/** - * - */ public class CqTimeTestListener implements CqListener { protected final LogWriter logger; protected volatile int eventCreateCount = 0; diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/PrCqUsingPoolDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/PrCqUsingPoolDUnitTest.java index 18b19e6..9ee017e 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/PrCqUsingPoolDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/cq/dunit/PrCqUsingPoolDUnitTest.java @@ -1063,7 +1063,6 @@ public class PrCqUsingPoolDUnitTest extends JUnit4CacheTestCase { * not be reflected in the query result set thus making the query data and region data * inconsistent. * - * @throws Exception */ @Category(FlakyTest.class) // GEODE-1181, 1253: random ports, eats exceptions (fixed some), async // behavior diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryIndexUpdateRIDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryIndexUpdateRIDUnitTest.java index d51db7d..8f57173 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryIndexUpdateRIDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryIndexUpdateRIDUnitTest.java @@ -138,7 +138,6 @@ public class QueryIndexUpdateRIDUnitTest extends JUnit4CacheTestCase { * Tests overlap keys between client region and server region to verify the server region values * are synched with client region on register interest. * - * @throws Exception */ @Test public void testClientIndexUpdateWithRIOnOverlapKeys() throws Exception { @@ -280,7 +279,6 @@ public class QueryIndexUpdateRIDUnitTest extends JUnit4CacheTestCase { * This test tests the RegionClearedException Path in AbsractRegionMap while doing * initialImagePut() during registerInterest on client. * - * @throws Exception */ @Test public void testClientIndexUpdateWithRIOnClearedRegion() throws Exception { @@ -623,10 +621,6 @@ public class QueryIndexUpdateRIDUnitTest extends JUnit4CacheTestCase { /** * Creates Init Values. start specifies the start index from which key no would start. * - * @param vm - * @param regionName - * @param size - * @param start */ public void createValues(VM vm, final String regionName, final int size, final int start) { vm.invoke(new CacheSerializableRunnable("Create values") { @@ -703,10 +697,6 @@ public class QueryIndexUpdateRIDUnitTest extends JUnit4CacheTestCase { * Validates a query result with client region values if region is not null, otherwise verifies * the size only. * - * @param vm - * @param query - * @param resultSize - * @param region */ public void validateQueryOnIndexWithRegion(VM vm, final String query, final int resultSize, final String region) { diff --git a/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryMonitorDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryMonitorDUnitTest.java index 3571a76..497617f 100644 --- a/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryMonitorDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/cache/query/dunit/QueryMonitorDUnitTest.java @@ -879,7 +879,6 @@ public class QueryMonitorDUnitTest extends JUnit4CacheTestCase { * The following CQ test is added to make sure testMaxQueryExecutionTime is reset and is not * affecting other query related tests. * - * @throws Exception */ @Test public void testCQWithDestroysAndInvalidates() throws Exception { diff --git a/geode-cq/src/test/java/org/apache/geode/internal/cache/ha/CQListGIIDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/internal/cache/ha/CQListGIIDUnitTest.java index 11826c9..992f58b 100755 --- a/geode-cq/src/test/java/org/apache/geode/internal/cache/ha/CQListGIIDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/internal/cache/ha/CQListGIIDUnitTest.java @@ -258,7 +258,6 @@ public class CQListGIIDUnitTest extends JUnit4DistributedTestCase { * @param attrs the attributes used to create the subregion * @param internalArgs if not null, then use the package protected creation mechanism * @return the subregion whose parent is the provided root - * @throws CacheException * @see Region#createSubregion(String, RegionAttributes) * @see LocalRegion#createSubregion(String, RegionAttributes, InternalRegionArguments) */ diff --git a/geode-cq/src/test/java/org/apache/geode/internal/cache/tier/sockets/DurableClientSimpleDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/internal/cache/tier/sockets/DurableClientSimpleDUnitTest.java index ea0394e..32e3985 100644 --- a/geode-cq/src/test/java/org/apache/geode/internal/cache/tier/sockets/DurableClientSimpleDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/internal/cache/tier/sockets/DurableClientSimpleDUnitTest.java @@ -2500,7 +2500,6 @@ public class DurableClientSimpleDUnitTest extends DurableClientTestCase { * Test functionality to close the cq and drain all events from the ha queue from the server This * draining should not affect events that still have register interest * - * @throws Exception */ @Test public void testCloseAllCqsAndDrainEvents() throws Exception { diff --git a/geode-cq/src/test/java/org/apache/geode/internal/cache/tier/sockets/DurableClientTestCase.java b/geode-cq/src/test/java/org/apache/geode/internal/cache/tier/sockets/DurableClientTestCase.java index 6e922e2..aae6b2d 100755 --- a/geode-cq/src/test/java/org/apache/geode/internal/cache/tier/sockets/DurableClientTestCase.java +++ b/geode-cq/src/test/java/org/apache/geode/internal/cache/tier/sockets/DurableClientTestCase.java @@ -1911,17 +1911,13 @@ public class DurableClientTestCase extends JUnit4DistributedTestCase { } /* - * @param vm * - * @param cqName * - * @param numEvents * * @param numEventsToWaitFor most times will be the same as numEvents, but there are times where * we want to wait for an event we know is not coming just to be sure an event actually isnt * received * - * @param secondsToWait */ protected void checkCqListenerEvents(VM vm, final String cqName, final int numEvents, final int numEventsToWaitFor, final int secondsToWait) { diff --git a/geode-cq/src/test/java/org/apache/geode/management/CacheServerManagementDUnitTest.java b/geode-cq/src/test/java/org/apache/geode/management/CacheServerManagementDUnitTest.java index a8d3997..d24ef87 100644 --- a/geode-cq/src/test/java/org/apache/geode/management/CacheServerManagementDUnitTest.java +++ b/geode-cq/src/test/java/org/apache/geode/management/CacheServerManagementDUnitTest.java @@ -109,9 +109,6 @@ public class CacheServerManagementDUnitTest extends LocatorTestBase { disconnectAllFromDS(); } - /** - * @throws Exception - */ @Test public void testCacheServerMBean() throws Exception { final Host host = Host.getHost(0); @@ -168,7 +165,6 @@ public class CacheServerManagementDUnitTest extends LocatorTestBase { /** * Test for client server connection related management artifacts like notifications * - * @throws Exception */ @Test @@ -207,7 +203,6 @@ public class CacheServerManagementDUnitTest extends LocatorTestBase { * Thats why used service.getLocalManager().runManagementTaskAdhoc() to make node ready for * federation when manager node comes up * - * @throws Exception */ // renable when bug 46138 @@ -314,7 +309,6 @@ public class CacheServerManagementDUnitTest extends LocatorTestBase { /** * Verify the Cache Server details * - * @param vm */ @SuppressWarnings("serial") protected void addClientNotifListener(final VM vm, final int serverPort) throws Exception { @@ -354,7 +348,6 @@ public class CacheServerManagementDUnitTest extends LocatorTestBase { /** * Verify the closed CQ which is closed from Managing Node * - * @param vm */ @SuppressWarnings("serial") protected void verifyIndex(final VM vm, final int serverPort) throws Exception { @@ -397,7 +390,6 @@ public class CacheServerManagementDUnitTest extends LocatorTestBase { /** * Verify the closed CQ which is closed from Managing Node * - * @param vm */ @SuppressWarnings("serial") protected void verifyClosedCQ(final VM vm) throws Exception { @@ -416,7 +408,6 @@ public class CacheServerManagementDUnitTest extends LocatorTestBase { /** * Verify the Cache Server details * - * @param vm */ @SuppressWarnings("serial") protected void verifyCacheServer(final VM vm, final int serverPort) throws Exception { @@ -464,7 +455,6 @@ public class CacheServerManagementDUnitTest extends LocatorTestBase { /** * Verify the Cache Server details * - * @param vm */ @SuppressWarnings("serial") protected void verifyCacheServerRemote(final VM vm, final DistributedMember serverMember, diff --git a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/repository/IndexRepositoryImplPerformanceTest.java b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/repository/IndexRepositoryImplPerformanceTest.java index 49cf49d..4d26459 100644 --- a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/repository/IndexRepositoryImplPerformanceTest.java +++ b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/repository/IndexRepositoryImplPerformanceTest.java @@ -149,7 +149,6 @@ public class IndexRepositoryImplPerformanceTest { /** * Test our full lucene index implementation * - * @throws Exception */ @Test public void testLuceneIndex() throws Exception { diff --git a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/xml/LuceneIndexXmlParserIntegrationJUnitTest.java b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/xml/LuceneIndexXmlParserIntegrationJUnitTest.java index 84beeb9..9a8c8ab 100644 --- a/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/xml/LuceneIndexXmlParserIntegrationJUnitTest.java +++ b/geode-lucene/src/test/java/org/apache/geode/cache/lucene/internal/xml/LuceneIndexXmlParserIntegrationJUnitTest.java @@ -209,7 +209,6 @@ public class LuceneIndexXmlParserIntegrationJUnitTest { /** * Test that the Index creation objects get appropriately translated into a real index. * - * @throws FileNotFoundException */ @Test public void createIndex() throws FileNotFoundException { diff --git a/geode-pulse/src/test/java/org/apache/geode/tools/pulse/tests/junit/BaseServiceTest.java b/geode-pulse/src/test/java/org/apache/geode/tools/pulse/tests/junit/BaseServiceTest.java index f1e2c83..1ed3da2 100644 --- a/geode-pulse/src/test/java/org/apache/geode/tools/pulse/tests/junit/BaseServiceTest.java +++ b/geode-pulse/src/test/java/org/apache/geode/tools/pulse/tests/junit/BaseServiceTest.java @@ -204,7 +204,6 @@ public abstract class BaseServiceTest { /** * Print exception string to system.out * - * @param failed */ protected static void logException(Exception failed) { StringWriter sw = new StringWriter(); diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java index 3799083..30b7972 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/WANTestBase.java @@ -1027,7 +1027,6 @@ public class WANTestBase extends DistributedTestCase { /** * Returns a Map that contains the count for number of bridge server and number of Receivers. * - * @return Map */ public static Map getCacheServers() { List cacheServers = cache.getCacheServers(); @@ -2784,8 +2783,6 @@ public class WANTestBase extends DistributedTestCase { * remains below a specified limit value. This validation will suffice for testing of pause/stop * operations. * - * @param regionName - * @param regionSizeLimit */ public static void validateRegionSizeRemainsSame(String regionName, final int regionSizeLimit) { final Region r = cache.getRegion(Region.SEPARATOR + regionName); @@ -3353,7 +3350,6 @@ public class WANTestBase extends DistributedTestCase { /** * Test methods for sender operations * - * @param senderId */ public static void verifySenderPausedState(String senderId) { GatewaySender sender = cache.getGatewaySender(senderId); diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderDUnitTest.java index e4a0833..9c5c1a1 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderDUnitTest.java @@ -49,7 +49,6 @@ public class ConcurrentParallelGatewaySenderDUnitTest extends WANTestBase { * Normal happy scenario test case. checks that all the dispatchers have successfully dispatched * something individually. * - * @throws Exception */ @Test public void testParallelPropagationConcurrentArtifacts() throws Exception { @@ -118,7 +117,6 @@ public class ConcurrentParallelGatewaySenderDUnitTest extends WANTestBase { /** * Normal happy scenario test case. * - * @throws Exception */ @Test public void testParallelPropagation() throws Exception { @@ -177,7 +175,6 @@ public class ConcurrentParallelGatewaySenderDUnitTest extends WANTestBase { /** * Normal happy scenario test case when bucket division tests boundary cases. * - * @throws Exception */ @Test public void testParallelPropagationWithUnEqualBucketDivision() throws Exception { @@ -235,7 +232,6 @@ public class ConcurrentParallelGatewaySenderDUnitTest extends WANTestBase { /** * Initially the GatewayReceiver is not up but later it comes up. We verify that * - * @throws Exception */ @Test public void testParallelPropagation_withoutRemoteSite() throws Exception { @@ -359,7 +355,6 @@ public class ConcurrentParallelGatewaySenderDUnitTest extends WANTestBase { * again. Puts are done to local site. Expected: Remote site should receive all the events put * after the local site was built back. * - * @throws Exception */ @Test public void testParallelPropagationWithLocalCacheClosedAndRebuilt() throws Exception { @@ -466,7 +461,6 @@ public class ConcurrentParallelGatewaySenderDUnitTest extends WANTestBase { /** * Colocated regions using ConcurrentParallelGatewaySender. Normal scenario * - * @throws Exception */ @Test public void testParallelColocatedPropagation() throws Exception { @@ -518,7 +512,6 @@ public class ConcurrentParallelGatewaySenderDUnitTest extends WANTestBase { /** * Colocated regions using ConcurrentParallelGatewaySender. Normal scenario * - * @throws Exception */ @Test public void testParallelColocatedPropagationOrderPolicyPartition() throws Exception { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderOperation_1_DUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderOperation_1_DUnitTest.java index 1061397..3a0bd2e 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderOperation_1_DUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderOperation_1_DUnitTest.java @@ -143,7 +143,6 @@ public class ConcurrentParallelGatewaySenderOperation_1_DUnitTest extends WANTes /** * Normal scenario in which the sender is paused in between. * - * @throws Exception */ @Test public void testParallelPropagationSenderPause() throws Exception { @@ -206,7 +205,6 @@ public class ConcurrentParallelGatewaySenderOperation_1_DUnitTest extends WANTes /** * Normal scenario in which a paused sender is resumed. * - * @throws Exception */ @Test public void testParallelPropagationSenderResume() throws Exception { @@ -284,7 +282,6 @@ public class ConcurrentParallelGatewaySenderOperation_1_DUnitTest extends WANTes * resume is only valid for pause. If a sender which is stopped is resumed, it will not be started * again. * - * @throws Exception */ @Test public void testParallelPropagationSenderResumeNegativeScenario() throws Exception { @@ -344,7 +341,6 @@ public class ConcurrentParallelGatewaySenderOperation_1_DUnitTest extends WANTes /** * Normal scenario in which a sender is stopped. * - * @throws Exception */ @Test public void testParallelPropagationSenderStop() throws Exception { @@ -505,7 +501,6 @@ public class ConcurrentParallelGatewaySenderOperation_1_DUnitTest extends WANTes * case in the way that when the sender is starting from stopped state, puts are simultaneously * happening on the region by another thread. * - * @throws Exception */ @Ignore("Bug47553") @Test @@ -601,7 +596,6 @@ public class ConcurrentParallelGatewaySenderOperation_1_DUnitTest extends WANTes /** * Normal scenario in which a sender is stopped and then started again on accessor node. * - * @throws Exception */ @Test public void testParallelPropagationSenderStartAfterStopOnAccessorNode() throws Throwable { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderOperation_2_DUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderOperation_2_DUnitTest.java index 09696d4..1351fa1 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderOperation_2_DUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentParallelGatewaySenderOperation_2_DUnitTest.java @@ -37,9 +37,6 @@ import org.apache.geode.test.dunit.WaitCriterion; import org.apache.geode.test.junit.categories.DistributedTest; import org.apache.geode.test.junit.categories.WanTest; -/** - * - */ @Category({DistributedTest.class, WanTest.class}) public class ConcurrentParallelGatewaySenderOperation_2_DUnitTest extends WANTestBase { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentSerialGatewaySenderOperationsDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentSerialGatewaySenderOperationsDUnitTest.java index b9f9b0c..d5c2b97 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentSerialGatewaySenderOperationsDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentSerialGatewaySenderOperationsDUnitTest.java @@ -29,9 +29,6 @@ import org.apache.geode.test.dunit.VM; import org.apache.geode.test.junit.categories.DistributedTest; import org.apache.geode.test.junit.categories.WanTest; -/** - * - */ @Category({DistributedTest.class, WanTest.class}) public class ConcurrentSerialGatewaySenderOperationsDUnitTest extends SerialGatewaySenderOperationsDUnitTest { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentWANPropagation_1_DUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentWANPropagation_1_DUnitTest.java index 42cb83d..77dc847 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentWANPropagation_1_DUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/concurrent/ConcurrentWANPropagation_1_DUnitTest.java @@ -41,9 +41,6 @@ import org.apache.geode.test.junit.categories.WanTest; @Category({DistributedTest.class, WanTest.class}) public class ConcurrentWANPropagation_1_DUnitTest extends WANTestBase { - /** - * @param name - */ public ConcurrentWANPropagation_1_DUnitTest() { super(); } @@ -53,7 +50,6 @@ public class ConcurrentWANPropagation_1_DUnitTest extends WANTestBase { /** * All the test cases are similar to SerialWANPropagationDUnitTest * - * @throws Exception */ @Test public void testReplicatedSerialPropagation_withoutRemoteSite() throws Exception { @@ -221,7 +217,6 @@ public class ConcurrentWANPropagation_1_DUnitTest extends WANTestBase { * Two regions configured with the same sender and put is in progress on both the regions. One of * the two regions is destroyed in the middle. * - * @throws Exception */ @Test public void testReplicatedSerialPropagationWithLocalRegionDestroy() throws Exception { @@ -300,7 +295,6 @@ public class ConcurrentWANPropagation_1_DUnitTest extends WANTestBase { * 1 region and sender configured on local site and 1 region and a receiver configured on remote * site. Puts to the local region are in progress. Remote region is destroyed in the middle. * - * @throws Exception */ @Test public void testReplicatedSerialPropagationWithRemoteRegionDestroy() throws Exception { @@ -372,7 +366,6 @@ public class ConcurrentWANPropagation_1_DUnitTest extends WANTestBase { * regions. Same two regions are configured on remote site as well. One of the two regions is * destroyed in the middle on remote site. * - * @throws Exception */ @Test public void testReplicatedSerialPropagationWithRemoteRegionDestroy2() throws Exception { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/CommonParallelGatewaySenderDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/CommonParallelGatewaySenderDUnitTest.java index ac6b913..6caf9ef 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/CommonParallelGatewaySenderDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/CommonParallelGatewaySenderDUnitTest.java @@ -38,9 +38,6 @@ import org.apache.geode.test.dunit.WaitCriterion; import org.apache.geode.test.junit.categories.DistributedTest; import org.apache.geode.test.junit.categories.WanTest; -/** - * - */ @Category({DistributedTest.class, WanTest.class}) public class CommonParallelGatewaySenderDUnitTest extends WANTestBase { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/ReplicatedRegion_ParallelWANPropagationDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/ReplicatedRegion_ParallelWANPropagationDUnitTest.java index 447811c..8b0de91 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/ReplicatedRegion_ParallelWANPropagationDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/ReplicatedRegion_ParallelWANPropagationDUnitTest.java @@ -45,9 +45,6 @@ public class ReplicatedRegion_ParallelWANPropagationDUnitTest extends WANTestBas final String expectedExceptions = null; - /** - * - */ private static final long serialVersionUID = 1L; @Test diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WANConfigurationJUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WANConfigurationJUnitTest.java index cc15d83..f18b616 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WANConfigurationJUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WANConfigurationJUnitTest.java @@ -50,9 +50,7 @@ public class WANConfigurationJUnitTest { /** * Test to validate that the sender can not be started without configuring locator * - * @throws IOException * - * @throws IOException */ @Test public void test_GatewaySender_without_Locator() throws IOException { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WanAutoDiscoveryDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WanAutoDiscoveryDUnitTest.java index e2cc44a..6cee4f5 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WanAutoDiscoveryDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WanAutoDiscoveryDUnitTest.java @@ -81,7 +81,6 @@ public class WanAutoDiscoveryDUnitTest extends WANTestBase { * after startInitLocator. I think, after throwing this exception, locator is not stopped properly * and hence other tests are failing. * - * @throws Exception */ @Ignore @Test @@ -103,7 +102,6 @@ public class WanAutoDiscoveryDUnitTest extends WANTestBase { * Test to validate that multiple locators added on LN site and multiple locators on Ny site * recognizes each other * - * @throws Exception */ @Test public void test_NY_Recognises_ALL_LN_Locators() throws Exception { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WanValidationsDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WanValidationsDUnitTest.java index 48138f9..68d625b 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WanValidationsDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/misc/WanValidationsDUnitTest.java @@ -95,14 +95,13 @@ public class WanValidationsDUnitTest extends WANTestBase { /** * Validate that ParallelGatewaySender can be added to Distributed region * - * @throws Exception * * - * Below test is disabled intentionally Replicated region with Parallel Async Event queue - * is not supported. Test is added for the same - * ReplicatedRegion_ParallelWANPropagationDUnitTest#test_DR_PGS_1Nodes_Put_Receiver + * Below test is disabled intentionally Replicated region with Parallel Async Event queue + * is not supported. Test is added for the same + * ReplicatedRegion_ParallelWANPropagationDUnitTest#test_DR_PGS_1Nodes_Put_Receiver * - * We are gone support this configuration in upcoming releases + * We are gone support this configuration in upcoming releases */ @Ignore("Bug51491") @@ -227,7 +226,6 @@ public class WanValidationsDUnitTest extends WANTestBase { /** * Test to make sure that same parallel gateway sender id can be used by 2 different PRs * - * @throws Exception */ @Ignore @Test @@ -290,7 +288,6 @@ public class WanValidationsDUnitTest extends WANTestBase { * Validate that if Colocated partitioned region doesn't want to add a PGS even if its parent has * one then it is fine * - * @throws Exception */ @Test @@ -318,7 +315,6 @@ public class WanValidationsDUnitTest extends WANTestBase { /** * Validate that if Colocated partitioned region has a subset of PGS then it is fine. * - * @throws Exception */ @Test @@ -347,7 +343,6 @@ public class WanValidationsDUnitTest extends WANTestBase { /** * Validate that if Colocated partitioned region has a superset of PGS then Exception is thrown. * - * @throws Exception */ @Test diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANConflationDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANConflationDUnitTest.java index 89d983e..3281df6 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANConflationDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANConflationDUnitTest.java @@ -29,9 +29,6 @@ import org.apache.geode.test.dunit.IgnoredException; import org.apache.geode.test.junit.categories.DistributedTest; import org.apache.geode.test.junit.categories.WanTest; -/** - * - */ @Category({DistributedTest.class, WanTest.class}) public class ParallelWANConflationDUnitTest extends WANTestBase { private static final long serialVersionUID = 1L; @@ -79,7 +76,6 @@ public class ParallelWANConflationDUnitTest extends WANTestBase { * conflation in batch. yet did find any way to ascertain that the vents in the batch will always * be conflated. * - * @throws Exception */ @Test public void testParallelPropagationBatchConflation() throws Exception { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPersistenceEnabledGatewaySenderDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPersistenceEnabledGatewaySenderDUnitTest.java index 49dd3e9..363d8b4 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPersistenceEnabledGatewaySenderDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPersistenceEnabledGatewaySenderDUnitTest.java @@ -1515,7 +1515,6 @@ public class ParallelWANPersistenceEnabledGatewaySenderDUnitTest extends WANTest * Test for bug 50120 see if we can recover after deleting the parallel gateway sender files and * not recoverying the sender when we have a persistent PR. * - * @throws Throwable */ @Test public void testRemoveGatewayFromPersistentRegionOnRestart() throws Throwable { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPropagationConcurrentOpsDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPropagationConcurrentOpsDUnitTest.java index 2dc4599..45c1098 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPropagationConcurrentOpsDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPropagationConcurrentOpsDUnitTest.java @@ -41,7 +41,6 @@ public class ParallelWANPropagationConcurrentOpsDUnitTest extends WANTestBase { * Normal propagation scenario test case for a PR with only one bucket. This has been added for * bug# 44284. * - * @throws Exception */ @Test public void testParallelPropagationWithSingleBucketPR() throws Exception { @@ -105,7 +104,6 @@ public class ParallelWANPropagationConcurrentOpsDUnitTest extends WANTestBase { * Normal propagation scenario test case for a PR with less number of buckets. Buckets have been * kept to 10 for this test. This has been added for bug# 44287. * - * @throws Exception */ @Test public void testParallelPropagationWithLowNumberOfBuckets() throws Exception { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPropagationDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPropagationDUnitTest.java index 707c30d..e330690 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPropagationDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANPropagationDUnitTest.java @@ -133,7 +133,6 @@ public class ParallelWANPropagationDUnitTest extends WANTestBase { /** * Normal happy scenario test case. * - * @throws Exception */ @Test public void testParallelPropagation() throws Exception { @@ -234,7 +233,6 @@ public class ParallelWANPropagationDUnitTest extends WANTestBase { /** * Normal happy scenario test case2. * - * @throws Exception */ @Test public void testParallelPropagationPutBeforeSenderStart() throws Exception { @@ -279,7 +277,6 @@ public class ParallelWANPropagationDUnitTest extends WANTestBase { * again. Puts are done to local site. Expected: Remote site should receive all the events put * after the local site was built back. * - * @throws Exception */ @Category({FlakyTest.class, WanTest.class}) @Test @@ -408,7 +405,6 @@ public class ParallelWANPropagationDUnitTest extends WANTestBase { * * Validate that events for parent region reaches remote site. * - * @throws Exception */ @Test @@ -800,7 +796,6 @@ public class ParallelWANPropagationDUnitTest extends WANTestBase { * There was a bug that all destroy events were being put into different buckets of sender queue * against the key 0. Bug# 44304 * - * @throws Exception */ @Test public void testParallelPropagationWithDestroy() throws Exception { @@ -871,7 +866,6 @@ public class ParallelWANPropagationDUnitTest extends WANTestBase { /** * Normal happy scenario test case. But with Tx operations * - * @throws Exception */ @Test public void testParallelPropagationTxOperations() throws Exception { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANStatsDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANStatsDUnitTest.java index a54a67d..9d9ed0f 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANStatsDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/parallel/ParallelWANStatsDUnitTest.java @@ -296,7 +296,6 @@ public class ParallelWANStatsDUnitTest extends WANTestBase { * 1 region and sender configured on local site and 1 region and a receiver configured on remote * site. Puts to the local region are in progress. Remote region is destroyed in the middle. * - * @throws Exception */ @Test public void testParallelPropagationWithRemoteRegionDestroy() throws Exception { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialGatewaySenderOperationsDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialGatewaySenderOperationsDUnitTest.java index c2375c2..652701c 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialGatewaySenderOperationsDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialGatewaySenderOperationsDUnitTest.java @@ -51,9 +51,6 @@ import org.apache.geode.test.junit.categories.DistributedTest; import org.apache.geode.test.junit.categories.FlakyTest; import org.apache.geode.test.junit.categories.WanTest; -/** - * - */ @Category({DistributedTest.class, WanTest.class}) public class SerialGatewaySenderOperationsDUnitTest extends WANTestBase { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialWANPersistenceEnabledGatewaySenderDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialWANPersistenceEnabledGatewaySenderDUnitTest.java index 8f8cef4..cca25fe 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialWANPersistenceEnabledGatewaySenderDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialWANPersistenceEnabledGatewaySenderDUnitTest.java @@ -26,9 +26,6 @@ import org.apache.geode.test.dunit.Wait; import org.apache.geode.test.junit.categories.DistributedTest; import org.apache.geode.test.junit.categories.WanTest; -/** - * - */ @Category({DistributedTest.class, WanTest.class}) public class SerialWANPersistenceEnabledGatewaySenderDUnitTest extends WANTestBase { diff --git a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialWANStatsDUnitTest.java b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialWANStatsDUnitTest.java index 2bc2a7d..9ae5b86 100644 --- a/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialWANStatsDUnitTest.java +++ b/geode-wan/src/test/java/org/apache/geode/internal/cache/wan/serial/SerialWANStatsDUnitTest.java @@ -314,7 +314,6 @@ public class SerialWANStatsDUnitTest extends WANTestBase { * required. * * - * @throws Exception */ @Test public void testReplicatedSerialPropagationWithRemoteRegionDestroy() throws Exception { -- To stop receiving notification emails like this one, please contact prhomb...@apache.org.