Skip to content

Commit ce15ed6

Browse files
committed
Remove references to removed type ObjectCodec (2.x only)
1 parent a7c5164 commit ce15ed6

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

src/main/java/tools/jackson/databind/JsonNode.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ protected JsonNode() { }
112112

113113
// public abstract JsonToken asToken();
114114
// public abstract JsonToken traverse();
115-
// public abstract JsonToken traverse(ObjectCodec codec);
116115
// public abstract JsonParser.NumberType numberType();
117116

118117
@Override

src/main/java/tools/jackson/databind/ObjectMapper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,7 @@ public JsonGenerator createGenerator(DataOutput out) throws JacksonException {
830830

831831
/**
832832
*<p>
833-
* Note: return type is co-variant, as basic ObjectCodec
833+
* Note: return type is co-variant, as basic {@link TreeCodec}
834834
* abstraction cannot refer to concrete node types (as it's
835835
* part of core package, whereas impls are part of mapper
836836
* package)
@@ -842,7 +842,7 @@ public ObjectNode createObjectNode() {
842842

843843
/**
844844
*<p>
845-
* Note: return type is co-variant, as basic ObjectCodec
845+
* Note: return type is co-variant, as basic {@link TreeCodec}
846846
* abstraction cannot refer to concrete node types (as it's
847847
* part of core package, whereas impls are part of mapper
848848
* package)

src/main/java/tools/jackson/databind/ObjectReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ public <T> MappingIterator<T> readValues(DataInput src) throws JacksonException
15751575

15761576
/*
15771577
/**********************************************************************
1578-
/* Implementation of rest of ObjectCodec methods
1578+
/* Misc conversion methods
15791579
/**********************************************************************
15801580
*/
15811581

src/main/java/tools/jackson/databind/ObjectWriter.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -937,7 +937,7 @@ public TypeFactory getTypeFactory() {
937937

938938
/*
939939
/**********************************************************************
940-
/* Serialization methods; ones from ObjectCodec first
940+
/* Serialization methods (writeValue variants)
941941
/**********************************************************************
942942
*/
943943

@@ -977,12 +977,6 @@ public void writeValue(JsonGenerator g, Object value)
977977
}
978978
}
979979

980-
/*
981-
/**********************************************************************
982-
/* Serialization methods, others
983-
/**********************************************************************
984-
*/
985-
986980
/**
987981
* Method that can be used to serialize any Java value as
988982
* JSON output, written to File provided.

0 commit comments

Comments
 (0)