Comment out @JsonTypeInfo.skipWritingDefault since it won't be supported in 2.5 yet
diff --git a/src/main/java/com/fasterxml/jackson/annotation/JsonTypeInfo.java b/src/main/java/com/fasterxml/jackson/annotation/JsonTypeInfo.java
index d21d584..ecf74d6 100644
--- a/src/main/java/com/fasterxml/jackson/annotation/JsonTypeInfo.java
+++ b/src/main/java/com/fasterxml/jackson/annotation/JsonTypeInfo.java
@@ -248,7 +248,7 @@
* <li>{@link None} means "there is no default implementation" (in which
* case an error results from unmappable type).
* With Jackson 2.5 and above, {@link JsonTypeInfo} itself will also be
- * accepted to meanb "no default implementation specified"
+ * accepted to mean "no default implementation specified"
* <li><code>com.fasterxml.jackson.databind.annotation.NoClass</code> means that
* objects with unmappable (or missing) type are to be mapped to null references.
* With Jackson 2.5, {@link java.lang.Void} may also be used to indicate this
@@ -273,6 +273,8 @@
*/
public boolean visible() default false;
+ // 19-Dec-2014, tatu: Was hoping to implement for 2.5, but didn't quite make it.
+ // Hope for better luck with 2.6.
/**
* Property that defines whether type serializer is allowed to omit writing
* of type id, in case that value written has type same as {@link #defaultImpl()}.
@@ -280,8 +282,8 @@
* if false, type id should always be written still.
*
* @since 2.5
- */
public boolean skipWritingDefault() default false;
+ /*
/*
/**********************************************************
diff --git a/src/main/java/com/fasterxml/jackson/annotation/ObjectIdResolver.java b/src/main/java/com/fasterxml/jackson/annotation/ObjectIdResolver.java
index 9945e09..2cfaa99 100644
--- a/src/main/java/com/fasterxml/jackson/annotation/ObjectIdResolver.java
+++ b/src/main/java/com/fasterxml/jackson/annotation/ObjectIdResolver.java
@@ -15,8 +15,7 @@
* JSON stream that could be useful for further resolution.
*
* @param id The Object Identifer
- * @param ob
- * The POJO associated to that Identifier
+ * @param pojo The POJO associated to that Identifier
*/
void bindItem(IdKey id, Object pojo);