Skip to content

Commit 2b804dc

Browse files
committed
Silence some javadoc warnings.
1 parent 43a4f80 commit 2b804dc

8 files changed

+48
-0
lines changed

src/net/njcull/collections/ImmutableArrayMap.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,10 @@ public static <K,V> ImmutableArrayMapBuilder<K,V> builder() {
424424

425425
/**
426426
* Deserialization.
427+
*
428+
* @param stream the object stream to be deserialized
429+
* @throws ClassNotFoundException the class or descendants could not be found
430+
* @throws IOException there was a problem reading the object stream
427431
*/
428432
@SuppressWarnings("unchecked")
429433
private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException {
@@ -443,6 +447,8 @@ private void readObject(ObjectInputStream stream) throws ClassNotFoundException,
443447

444448
/**
445449
* Deserialization.
450+
*
451+
* @return the resolved object
446452
*/
447453
private Object readResolve() {
448454
if(m_Map.length == 0) {

src/net/njcull/collections/ImmutableArraySet.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,10 @@ public static <E> ImmutableArraySetBuilder<E> builder() {
426426

427427
/**
428428
* Deserialization.
429+
*
430+
* @param stream the object stream to be deserialized
431+
* @throws ClassNotFoundException the class or descendants could not be found
432+
* @throws IOException there was a problem reading the object stream
429433
*/
430434
private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException {
431435
stream.defaultReadObject();
@@ -438,6 +442,8 @@ private void readObject(ObjectInputStream stream) throws ClassNotFoundException,
438442

439443
/**
440444
* Deserialization
445+
*
446+
* @return the resolved object
441447
*/
442448
@SuppressWarnings("unchecked")
443449
private Object readResolve() {

src/net/njcull/collections/ImmutableHashedArrayMap.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,10 @@ public static <K,V> ImmutableHashedArrayMapBuilder<K,V> builder() {
417417

418418
/**
419419
* Deserialization.
420+
*
421+
* @param stream the object stream to be deserialized
422+
* @throws ClassNotFoundException the class or descendants could not be found
423+
* @throws IOException there was a problem reading the object stream
420424
*/
421425
@SuppressWarnings("unchecked")
422426
private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException {
@@ -439,6 +443,8 @@ private void readObject(ObjectInputStream stream) throws ClassNotFoundException,
439443

440444
/**
441445
* Deserialization.
446+
*
447+
* @return the resolved object
442448
*/
443449
private Object readResolve() {
444450
if(m_Map.length == 0) {

src/net/njcull/collections/ImmutableHashedArraySet.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,10 @@ public static <E> ImmutableHashedArraySetBuilder<E> builder() {
425425

426426
/**
427427
* Deserialization.
428+
*
429+
* @param stream the object stream to be deserialized
430+
* @throws ClassNotFoundException the class or descendants could not be found
431+
* @throws IOException there was a problem reading the object stream
428432
*/
429433
@SuppressWarnings("unchecked")
430434
private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException {
@@ -445,6 +449,8 @@ private void readObject(ObjectInputStream stream) throws ClassNotFoundException,
445449

446450
/**
447451
* Deserialization.
452+
*
453+
* @return the resolved object
448454
*/
449455
private Object readResolve() {
450456
if(m_Elements.length == 0) {

src/net/njcull/collections/ImmutableSortedArrayMap.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,10 @@ public static <K,V> ImmutableSortedArrayMapBuilder<K,V> builder() {
627627

628628
/**
629629
* Deserialization.
630+
*
631+
* @param stream the object stream to be deserialized
632+
* @throws ClassNotFoundException the class or descendants could not be found
633+
* @throws IOException there was a problem reading the object stream
630634
*/
631635
@SuppressWarnings("unchecked")
632636
private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException {
@@ -684,6 +688,8 @@ private void readObject(ObjectInputStream stream) throws ClassNotFoundException,
684688

685689
/**
686690
* Deserialization.
691+
*
692+
* @return the resolved object
687693
*/
688694
private Object readResolve() {
689695
if(m_Map.length == 0) {

src/net/njcull/collections/ImmutableSortedArrayPropertyMap.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,10 @@ public static <K,V> ImmutableSortedArrayPropertyMapBuilder<K,V> builder() {
516516

517517
/**
518518
* Deserialization.
519+
*
520+
* @param stream the object stream to be deserialized
521+
* @throws ClassNotFoundException the class or descendants could not be found
522+
* @throws IOException there was a problem reading the object stream
519523
*/
520524
@SuppressWarnings("unchecked")
521525
private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException {
@@ -554,6 +558,8 @@ private void readObject(ObjectInputStream stream) throws ClassNotFoundException,
554558

555559
/**
556560
* Deserialization.
561+
*
562+
* @return the resolved object
557563
*/
558564
private Object readResolve() {
559565
if(m_Map.length == 0) {

src/net/njcull/collections/ImmutableSortedArraySet.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,10 @@ public static <E> ImmutableSortedArraySetBuilder<E> builder() {
580580

581581
/**
582582
* Deserialization.
583+
*
584+
* @param stream the object stream to be deserialized
585+
* @throws ClassNotFoundException the class or descendants could not be found
586+
* @throws IOException there was a problem reading the object stream
583587
*/
584588
@SuppressWarnings("unchecked")
585589
private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException {
@@ -613,6 +617,8 @@ private void readObject(ObjectInputStream stream) throws ClassNotFoundException,
613617

614618
/**
615619
* Deserialization.
620+
*
621+
* @return the resolved object
616622
*/
617623
private Object readResolve() {
618624
if(m_Elements.length == 0) {

src/net/njcull/collections/ImmutableUniSortedArrayMap.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,10 @@ public static <K,V> ImmutableUniSortedArrayMapBuilder<K,V> builder() {
531531

532532
/**
533533
* Deserialization.
534+
*
535+
* @param stream the object stream to be deserialized
536+
* @throws ClassNotFoundException the class or descendants could not be found
537+
* @throws IOException there was a problem reading the object stream
534538
*/
535539
@SuppressWarnings("unchecked")
536540
private void readObject(ObjectInputStream stream) throws ClassNotFoundException, IOException {
@@ -569,6 +573,8 @@ private void readObject(ObjectInputStream stream) throws ClassNotFoundException,
569573

570574
/**
571575
* Deserialization.
576+
*
577+
* @return the resolved object
572578
*/
573579
private Object readResolve() {
574580
if(m_Map.length == 0) {

0 commit comments

Comments
 (0)