Skip to content
Permalink
Browse files

[#1207] Fix Javadoc errors about Exceptions (#1206)

fixes #1207
  • Loading branch information...
timo95 authored and galpha committed Apr 4, 2019
1 parent f992a7b commit 859d933b829bd84b5255b27ef6a839772e7d6f9f
Showing with 289 additions and 152 deletions.
  1. +2 −0 gradoop-common/src/main/java/org/gradoop/common/model/api/strategies/PropertyValueStrategy.java
  2. +1 −1 gradoop-common/src/main/java/org/gradoop/common/model/impl/properties/PropertyValueList.java
  3. +2 −2 gradoop-common/src/main/java/org/gradoop/common/util/AsciiGraphLoader.java
  4. +1 −0 gradoop-common/src/test/java/org/gradoop/common/GradoopTestUtils.java
  5. +13 −13 gradoop-common/src/test/java/org/gradoop/common/model/impl/id/GradoopIdsTest.java
  6. +14 −14 gradoop-common/src/test/java/org/gradoop/common/model/impl/properties/PropertiesTest.java
  7. +6 −6 gradoop-common/src/test/java/org/gradoop/common/model/impl/properties/PropertyTest.java
  8. +1 −1 gradoop-common/src/test/java/org/gradoop/common/model/impl/properties/PropertyValueListTest.java
  9. +5 −4 gradoop-common/src/test/java/org/gradoop/common/model/impl/properties/PropertyValueUtilsTest.java
  10. +14 −14 gradoop-common/src/test/java/org/gradoop/common/util/AsciiGraphLoaderTest.java
  11. +1 −0 ...n/src/main/java/org/gradoop/dataintegration/importer/impl/json/functions/MinimalJsonToVertex.java
  12. +2 −0 ...est/java/org/gradoop/dataintegration/transformation/functions/AccumulatePropagatedValuesTest.java
  13. +2 −2 gradoop-examples/src/main/java/org/gradoop/benchmark/grouping/GroupingBenchmark.java
  14. +1 −0 gradoop-examples/src/main/java/org/gradoop/benchmark/patternmatching/SetPairTraverserBenchmark.java
  15. +2 −1 gradoop-examples/src/main/java/org/gradoop/benchmark/patternmatching/TransactionalBenchmark.java
  16. +6 −4 gradoop-examples/src/main/java/org/gradoop/benchmark/patternmatching/TraverserBenchmark.java
  17. +1 −0 gradoop-examples/src/main/java/org/gradoop/benchmark/patternmatching/TripleTraverserBenchmark.java
  18. +1 −0 gradoop-examples/src/main/java/org/gradoop/benchmark/sampling/SamplingBenchmark.java
  19. +2 −2 gradoop-examples/src/main/java/org/gradoop/examples/AbstractRunner.java
  20. +1 −0 gradoop-examples/src/main/java/org/gradoop/examples/aggregation/AggregationExample.java
  21. +4 −2 gradoop-examples/src/main/java/org/gradoop/examples/biiig/CategoryCharacteristicPatterns.java
  22. +1 −1 gradoop-examples/src/main/java/org/gradoop/examples/dimspan/DIMSpanRunner.java
  23. +1 −1 gradoop-examples/src/main/java/org/gradoop/examples/dimspan/TLFDataCopier.java
  24. +1 −1 gradoop-examples/src/main/java/org/gradoop/examples/dimspan/data_source/DIMSpanGraphFromText.java
  25. +1 −0 gradoop-examples/src/main/java/org/gradoop/examples/dimspan/data_source/DIMSpanTLFSource.java
  26. +1 −2 gradoop-examples/src/main/java/org/gradoop/examples/grouping/Composition.java
  27. +1 −0 gradoop-examples/src/main/java/org/gradoop/examples/io/DOTExample.java
  28. +1 −0 gradoop-examples/src/main/java/org/gradoop/examples/io/EdgeListExample.java
  29. +1 −0 gradoop-examples/src/main/java/org/gradoop/examples/io/JSONExample.java
  30. +3 −3 gradoop-examples/src/main/java/org/gradoop/examples/io/PokecExample.java
  31. +1 −0 gradoop-examples/src/main/java/org/gradoop/examples/patternmatching/PatternMatchingRunner.java
  32. +2 −0 gradoop-examples/src/main/java/org/gradoop/examples/quickstart/GradoopQuickstart.java
  33. +1 −0 gradoop-examples/src/main/java/org/gradoop/examples/rollup/RollUpExample.java
  34. +1 −1 gradoop-examples/src/main/java/org/gradoop/examples/sna/SNABenchmark1.java
  35. +3 −3 gradoop-examples/src/main/java/org/gradoop/examples/sna/SNABenchmark2.java
  36. +3 −2 gradoop-examples/src/main/java/org/gradoop/examples/utils/ExampleOutput.java
  37. +1 −0 gradoop-examples/src/main/java/org/gradoop/utils/converter/GradoopFormatConverter.java
  38. +1 −0 gradoop-examples/src/main/java/org/gradoop/utils/sampling/PageRankSamplingRunner.java
  39. +1 −0 gradoop-examples/src/main/java/org/gradoop/utils/sampling/RandomEdgeSamplingRunner.java
  40. +1 −0 ...op-examples/src/main/java/org/gradoop/utils/sampling/RandomLimitedDegreeVertexSamplingRunner.java
  41. +1 −0 gradoop-examples/src/main/java/org/gradoop/utils/sampling/RandomNonUniformVertexSamplingRunner.java
  42. +1 −0 gradoop-examples/src/main/java/org/gradoop/utils/sampling/RandomVertexEdgeSamplingRunner.java
  43. +1 −0 ...oop-examples/src/main/java/org/gradoop/utils/sampling/RandomVertexNeighborhoodSamplingRunner.java
  44. +1 −0 gradoop-examples/src/main/java/org/gradoop/utils/sampling/RandomVertexSamplingRunner.java
  45. +1 −0 gradoop-examples/src/main/java/org/gradoop/utils/sampling/RandomWalkSamplingRunner.java
  46. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/algorithms/btgs/functions/BtgMessenger.java
  47. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/algorithms/btgs/functions/BtgUpdater.java
  48. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/algorithms/btgs/functions/CollectGradoopIds.java
  49. +1 −0 gradoop-flink/src/main/java/org/gradoop/flink/algorithms/gelly/BaseGellyAlgorithm.java
  50. +1 −0 gradoop-flink/src/main/java/org/gradoop/flink/algorithms/gelly/GradoopGellyAlgorithm.java
  51. +1 −1 ...-flink/src/main/java/org/gradoop/flink/algorithms/gelly/hits/functions/HitsResultKeySelector.java
  52. +1 −2 ...src/main/java/org/gradoop/flink/algorithms/gelly/labelpropagation/functions/LPUpdateFunction.java
  53. +4 −0 gradoop-flink/src/main/java/org/gradoop/flink/io/api/DataSink.java
  54. +2 −0 gradoop-flink/src/main/java/org/gradoop/flink/io/api/DataSource.java
  55. +1 −0 gradoop-flink/src/main/java/org/gradoop/flink/io/api/metadata/MetaDataSource.java
  56. +1 −3 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/csv/indexed/IndexedCSVDataSource.java
  57. +4 −4 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/deprecated/json/functions/EntityToJSON.java
  58. +3 −3 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/deprecated/json/functions/JSONToEdge.java
  59. +5 −5 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/deprecated/json/functions/JSONToEntity.java
  60. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/deprecated/json/functions/JSONToGraphHead.java
  61. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/deprecated/json/functions/JSONToVertex.java
  62. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/deprecated/logicalgraphcsv/MetaData.java
  63. +2 −0 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/dot/DOTDataSink.java
  64. +3 −4 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/edgelist/functions/CreateImportEdge.java
  65. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/graph/functions/InitEdge.java
  66. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/graph/functions/InitVertex.java
  67. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/graph/functions/UpdateEdge.java
  68. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/tlf/TLFDataSource.java
  69. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/tlf/functions/Dictionary.java
  70. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/tlf/functions/DictionaryEntry.java
  71. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/tlf/functions/ElementLabelEncoder.java
  72. +13 −13 gradoop-flink/src/main/java/org/gradoop/flink/io/impl/tlf/inputformats/TLFRecordReader.java
  73. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/model/impl/epgm/GraphCollection.java
  74. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/model/impl/functions/epgm/EdgeFromIds.java
  75. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/model/impl/functions/epgm/Label.java
  76. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/model/impl/functions/epgm/Properties.java
  77. +1 −1 gradoop-flink/src/main/java/org/gradoop/flink/model/impl/functions/epgm/VertexFromId.java
  78. +1 −1 ...link/src/main/java/org/gradoop/flink/model/impl/operators/difference/functions/IdOf0InTuple2.java
  79. +1 −0 ...k/src/main/java/org/gradoop/flink/model/impl/operators/grouping/functions/BuildGroupItemBase.java
  80. +1 −0 ...flink/src/main/java/org/gradoop/flink/model/impl/operators/grouping/functions/BuildSuperEdge.java
  81. +1 −1 ...src/main/java/org/gradoop/flink/model/impl/operators/grouping/functions/ReduceEdgeGroupItems.java
  82. +1 −0 gradoop-flink/src/main/java/org/gradoop/flink/model/impl/operators/grouping/tuples/LabelGroup.java
  83. +1 −1 ...src/main/java/org/gradoop/flink/model/impl/operators/intersection/functions/GroupCountEquals.java
  84. +1 −1 .../src/main/java/org/gradoop/flink/model/impl/operators/transformation/functions/TransformBase.java
  85. +1 −0 ...-flink/src/main/java/org/gradoop/flink/representation/transactional/RepresentationConverters.java
  86. +8 −0 .../org/gradoop/flink/algorithms/gelly/clusteringcoefficient/GellyClusteringCoefficientTestBase.java
  87. +2 −3 ...rc/test/java/org/gradoop/flink/algorithms/gelly/labelpropagation/GradoopLabelPropagationTest.java
  88. +1 −1 gradoop-flink/src/test/java/org/gradoop/flink/model/GradoopFlinkTestBase.java
  89. +1 −1 .../gradoop/flink/model/impl/operators/matching/common/statistics/GraphStatisticsHDFSReaderTest.java
  90. +1 −1 ...c/test/java/org/gradoop/flink/model/impl/operators/matching/single/cypher/QueryEngineITTests.java
  91. +3 −3 ...rg/gradoop/flink/model/impl/operators/matching/single/cypher/common/pojos/EmbeddingTestUtils.java
  92. +1 −1 ...operators/matching/single/cypher/operators/expand/functions/CreateInitialExpandEmbeddingTest.java
  93. +1 −1 ...ink/model/impl/operators/matching/single/cypher/operators/join/functions/MergeEmbeddingsTest.java
  94. +1 −1 gradoop-flink/src/test/java/org/gradoop/flink/model/impl/operators/subgraph/SubgraphTest.java
  95. +1 −1 ...flink/src/test/java/org/gradoop/flink/model/impl/operators/transformation/TransformationTest.java
  96. +1 −0 ...oop-accumulo/src/main/java/org/gradoop/storage/impl/accumulo/io/inputformats/BaseInputFormat.java
  97. +3 −0 ...ccumulo/src/main/java/org/gradoop/storage/impl/accumulo/iterator/tserver/BaseElementIterator.java
  98. +1 −0 ...ccumulo/src/main/java/org/gradoop/storage/impl/accumulo/iterator/tserver/GradoopEdgeIterator.java
  99. +1 −0 ...lo/src/main/java/org/gradoop/storage/impl/accumulo/iterator/tserver/GradoopGraphHeadIterator.java
  100. +1 −0 ...umulo/src/main/java/org/gradoop/storage/impl/accumulo/iterator/tserver/GradoopVertexIterator.java
  101. +4 −0 ...oop-store/gradoop-accumulo/src/test/java/org/gradoop/storage/impl/accumulo/AccumuloTestSuite.java
  102. +2 −0 gradoop-store/gradoop-hbase/src/main/java/org/gradoop/storage/impl/hbase/api/ElementHandler.java
  103. +2 −2 ...oop-store/gradoop-hbase/src/main/java/org/gradoop/storage/impl/hbase/api/GraphElementHandler.java
  104. +1 −0 ...ore/gradoop-hbase/src/main/java/org/gradoop/storage/impl/hbase/factory/HBaseEPGMStoreFactory.java
  105. +28 −0 ...-store/gradoop-hbase/src/test/java/org/gradoop/storage/impl/hbase/HBaseDefaultGraphStoreTest.java
  106. +10 −0 gradoop-store/gradoop-hbase/src/test/java/org/gradoop/storage/impl/hbase/HBaseEPGMStoreTest.java
  107. +2 −0 ...re/gradoop-hbase/src/test/java/org/gradoop/storage/impl/hbase/HBaseSplitRegionGraphStoreTest.java
  108. +2 −0 .../gradoop-hbase/src/test/java/org/gradoop/storage/impl/hbase/HBaseSpreadingByteGraphStoreTest.java
  109. +24 −0 ...-store/gradoop-hbase/src/test/java/org/gradoop/storage/impl/hbase/io/HBaseDataSinkSourceTest.java
  110. +6 −0 ...re/gradoop-store-api/src/main/java/org/gradoop/storage/common/api/EPGMGraphPredictableOutput.java
@@ -81,6 +81,7 @@
*
* @param bytes representing a serialized object.
* @return an instance of the type handled by this strategy.
* @throws IOException on failure
*/
T get(byte[] bytes) throws IOException;

@@ -97,6 +98,7 @@
*
* @param value the object to be serialized.
* @return byte array representation of the provided object.
* @throws IOException on failure
*/
byte[] getRawBytes(T value) throws IOException;
}
@@ -77,8 +77,8 @@ public static PropertyValueList createEmptyList() {
* Creates a Property value list from a collection of property values.
*
* @param propertyValues property values
*
* @return property value list containing the given properties
* @throws IOException on failure
*/
public static PropertyValueList fromPropertyValues(
Collection<PropertyValue> propertyValues) throws IOException {
@@ -156,7 +156,7 @@ private AsciiGraphLoader(GDLHandler gdlHandler,
* @param <E> EPGM edge type
*
* @return AsciiGraphLoader
* @throws IOException
* @throws IOException on failure
*/
public static
<G extends EPGMGraphHead, V extends EPGMVertex, E extends EPGMEdge>
@@ -180,7 +180,7 @@ private AsciiGraphLoader(GDLHandler gdlHandler,
* @param <E> EPGM edge type
*
* @return AsciiGraphLoader
* @throws IOException
* @throws IOException on failure
*/
public static
<G extends EPGMGraphHead, V extends EPGMVertex, E extends EPGMEdge>
@@ -172,6 +172,7 @@
* gradoop/dev-support/social-network.pdf
*
* @return graph store containing a simple social network for tests.
* @throws IOException on failure
*/
public static AsciiGraphLoader<GraphHead, Vertex, Edge> getSocialNetworkLoader()
throws IOException {
@@ -34,7 +34,7 @@
public class GradoopIdsTest {

@Test
public void testAdd() throws Exception {
public void testAdd() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();

@@ -57,7 +57,7 @@ public void testAdd() throws Exception {
}

@Test
public void testContains() throws Exception {
public void testContains() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();

@@ -70,7 +70,7 @@ public void testContains() throws Exception {
}

@Test
public void testAddAllCollection() throws Exception {
public void testAddAllCollection() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();
GradoopId id3 = GradoopId.get();
@@ -88,7 +88,7 @@ public void testAddAllCollection() throws Exception {
}

@Test
public void testAddAllGradoopIds() throws Exception {
public void testAddAllGradoopIds() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();
GradoopIdSet list1 = new GradoopIdSet();
@@ -107,7 +107,7 @@ public void testAddAllGradoopIds() throws Exception {
}

@Test
public void testContainsAllCollection() throws Exception {
public void testContainsAllCollection() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();
GradoopId id3 = GradoopId.get();
@@ -123,7 +123,7 @@ public void testContainsAllCollection() throws Exception {
}

@Test
public void testContainsAllGradoopIds() throws Exception {
public void testContainsAllGradoopIds() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();
GradoopId id3 = GradoopId.get();
@@ -140,7 +140,7 @@ public void testContainsAllGradoopIds() throws Exception {
}

@Test
public void testContainsAny() throws Exception {
public void testContainsAny() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();
GradoopId id3 = GradoopId.get();
@@ -157,7 +157,7 @@ public void testContainsAny() throws Exception {
}

@Test
public void testContainsAny1() throws Exception {
public void testContainsAny1() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();
GradoopId id3 = GradoopId.get();
@@ -173,7 +173,7 @@ public void testContainsAny1() throws Exception {
}

@Test
public void testIsEmpty() throws Exception {
public void testIsEmpty() {
GradoopIdSet set1 = GradoopIdSet.fromExisting(GradoopId.get());

assertFalse(set1.isEmpty());
@@ -204,7 +204,7 @@ public void testWriteAndReadFields() throws Exception {
}

@Test
public void testIterator() throws Exception {
public void testIterator() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();

@@ -220,7 +220,7 @@ public void testIterator() throws Exception {
}

@Test(expected = NoSuchElementException.class)
public void testIteratorException() throws Exception {
public void testIteratorException() {
GradoopIdSet ids = new GradoopIdSet();

Iterator<GradoopId> idsIterator = ids.iterator();
@@ -230,7 +230,7 @@ public void testIteratorException() throws Exception {
}

@Test
public void testClear() throws Exception {
public void testClear() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();

@@ -246,7 +246,7 @@ public void testClear() throws Exception {
}

@Test
public void testSize() throws Exception {
public void testSize() {
GradoopId id1 = GradoopId.get();
GradoopId id2 = GradoopId.get();

@@ -28,7 +28,7 @@
public class PropertiesTest {

@Test
public void testCreateFromMap() throws Exception {
public void testCreateFromMap() {
Properties properties = Properties.createFromMap(SUPPORTED_PROPERTIES);

assertEquals(SUPPORTED_PROPERTIES.size(), properties.size());
@@ -41,7 +41,7 @@ public void testCreateFromMap() throws Exception {
}

@Test
public void testGetKeys() throws Exception {
public void testGetKeys() {
Properties properties = Properties.createFromMap(SUPPORTED_PROPERTIES);

List<String> keyList = Lists.newArrayList(properties.getKeys());
@@ -53,7 +53,7 @@ public void testGetKeys() throws Exception {
}

@Test
public void testContainsKey() throws Exception {
public void testContainsKey() {
Properties properties = Properties.create();

assertFalse("unexpected key found", properties.containsKey(KEY_1));
@@ -63,7 +63,7 @@ public void testContainsKey() throws Exception {
}

@Test
public void testGet() throws Exception {
public void testGet() {
Properties properties = Properties.createFromMap(SUPPORTED_PROPERTIES);

assertNotNull("property was null", properties.get(KEY_1));
@@ -72,7 +72,7 @@ public void testGet() throws Exception {
}

@Test
public void testSet() throws Exception {
public void testSet() {
Properties properties = Properties.create();

properties.set(Property.create(KEY_1, BOOL_VAL_1));
@@ -84,7 +84,7 @@ public void testSet() throws Exception {
}

@Test
public void testSet1() throws Exception {
public void testSet1() {
Properties properties = Properties.create();

properties.set(KEY_1, PropertyValue.create(BOOL_VAL_1));
@@ -96,7 +96,7 @@ public void testSet1() throws Exception {
}

@Test
public void testSet2() throws Exception {
public void testSet2() {
Properties properties = Properties.create();

properties.set(KEY_1, BOOL_VAL_1);
@@ -108,7 +108,7 @@ public void testSet2() throws Exception {
}

@Test
public void testRemove() throws Exception {
public void testRemove() {
Properties properties = Properties.create();
PropertyValue removed;

@@ -124,7 +124,7 @@ public void testRemove() throws Exception {
}

@Test
public void testRemove2() throws Exception {
public void testRemove2() {
Properties properties = Properties.create();
PropertyValue removed;

@@ -140,15 +140,15 @@ public void testRemove2() throws Exception {
}

@Test
public void testClear() throws Exception {
public void testClear() {
Properties properties = Properties.create();
properties.set(KEY_1, BOOL_VAL_1);
properties.clear();
assertEquals("wrong size", 0, properties.size());
}

@Test
public void testSize() throws Exception {
public void testSize() {
Properties properties = Properties.create();
assertEquals("wrong size", 0, properties.size());
properties.set(KEY_1, BOOL_VAL_1);
@@ -161,15 +161,15 @@ public void testSize() throws Exception {
}

@Test
public void testIsEmpty() throws Exception {
public void testIsEmpty() {
Properties properties = Properties.create();
assertTrue("properties was not empty", properties.isEmpty());
properties.set(KEY_1, BOOL_VAL_1);
assertFalse("properties was empty", properties.isEmpty());
}

@Test
public void testEqualsAndHashCode() throws Exception {
public void testEqualsAndHashCode() {
Properties properties1 = Properties.createFromMap(SUPPORTED_PROPERTIES);
Properties properties2 = Properties.createFromMap(SUPPORTED_PROPERTIES);
Properties properties3 = Properties.createFromMap(SUPPORTED_PROPERTIES);
@@ -194,7 +194,7 @@ public void testEqualsAndHashCode() throws Exception {
}

@Test
public void testIterator() throws Exception {
public void testIterator() {
Properties properties = Properties.createFromMap(SUPPORTED_PROPERTIES);

for (Property property : properties) {
@@ -23,13 +23,13 @@
public class PropertyTest {

@Test
public void testGetKey() throws Exception {
public void testGetKey() {
Property property = new Property("key", PropertyValue.create(10));
assertEquals("key", property.getKey());
}

@Test
public void testSetKey() throws Exception {
public void testSetKey() {
Property property = new Property("key", PropertyValue.create(10));
property.setKey("newKey");
assertEquals("newKey", property.getKey());
@@ -58,14 +58,14 @@ public void testSetKeyEmpty2() {
}

@Test
public void testGetValue() throws Exception {
public void testGetValue() {
PropertyValue propertyValue = PropertyValue.create(10);
Property p = new Property("key", propertyValue);
assertEquals(propertyValue, p.getValue());
}

@Test
public void testSetValue() throws Exception {
public void testSetValue() {
PropertyValue propertyValue = PropertyValue.create(10);
Property p = new Property("key", PropertyValue.create(11));
p.setValue(propertyValue);
@@ -84,7 +84,7 @@ public void testSetValueNull2() {
}

@Test
public void testEqualsAndHashCode() throws Exception {
public void testEqualsAndHashCode() {
Property p1 = new Property("key1", PropertyValue.create(10));
Property p2 = new Property("key1", PropertyValue.create(10));
Property p3 = new Property("key1", PropertyValue.create(11));
@@ -105,7 +105,7 @@ public void testEqualsAndHashCode() throws Exception {
}

@Test
public void testCompareTo() throws Exception {
public void testCompareTo() {
Property p1 = new Property("key1", PropertyValue.create(10));
Property p2 = new Property("key1", PropertyValue.create(10));
Property p3 = new Property("key2", PropertyValue.create(10));
@@ -120,7 +120,7 @@ public void testIterator() throws Exception {
}

@Test
public void testEmptyIterator() throws Exception {
public void testEmptyIterator() {
PropertyValueList p = new PropertyValueList();

List<PropertyValue> expected = Lists.newArrayList(p);
@@ -70,8 +70,9 @@ public void testOr() {
* Test class of {@link PropertyValueUtils.Numeric}
*/
public static class NumericTest {

@Test
public void testAddReturningBigDecimal() throws Exception {
public void testAddReturningBigDecimal() {
PropertyValue p;

// BigDecimal
@@ -244,7 +245,7 @@ public void testAddReturningInteger() {
}

@Test
public void testMultiplyReturningBigDecimal() throws Exception {
public void testMultiplyReturningBigDecimal() {
PropertyValue p;

// BigDecimal
@@ -417,7 +418,7 @@ public void testMultiplyReturningInteger() {
}

@Test
public void testMin() throws Exception {
public void testMin() {
PropertyValue p;
BigDecimal minBigDecimal = new BigDecimal("10");
BigDecimal maxBigDecimal = new BigDecimal("11");
@@ -692,7 +693,7 @@ public void testMin() throws Exception {
}

@Test
public void testMax() throws Exception {
public void testMax() {
PropertyValue p;
BigDecimal minBigDecimal = new BigDecimal("10");
BigDecimal maxBigDecimal = new BigDecimal("11");
Oops, something went wrong.

0 comments on commit 859d933

Please sign in to comment.
You can’t perform that action at this time.