Skip to content

Commit

Permalink
Fix javadoc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
henri-tremblay committed Jan 13, 2017
1 parent 2a1946e commit c363db3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ public enum Typology {
SERIALIZATION,

/**
* Mark an instantiator that doesn't behave as a {@link Standard} or {@link Serialization} (calls a constructor, fails
* Mark an instantiator that doesn't behave like a {@link #STANDARD} nor a {@link #SERIALIZATION} (e.g. calls a constructor, fails
* all the time, etc.)
*/
NOT_COMPLIANT,

/**
* No type specified
* No type specified on the instantiator class
*/
UNKNOWN
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@
*/
package org.objenesis.instantiator.sun;

import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import org.objenesis.ObjenesisException;
import org.objenesis.instantiator.ObjectInstantiator;
import org.objenesis.instantiator.annotations.Instantiator;
import org.objenesis.instantiator.annotations.Typology;
import org.objenesis.instantiator.basic.ClassDefinitionUtils;

import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.io.IOException;

import static org.objenesis.instantiator.basic.ClassDefinitionUtils.*;

/**
Expand Down Expand Up @@ -78,6 +78,8 @@ public MagicInstantiator(Class<T> type) {
* {@link MagicInstantiator} is a wrapper around another object
* which implements {@link ObjectInstantiator} interface.
* This method exposes that instantiator.
*
* @return the underlying instantiator
*/
public ObjectInstantiator<T> getInstantiator() {
return instantiator;
Expand Down

0 comments on commit c363db3

Please sign in to comment.