Skip to content

Commit 2dfc5bf

Browse files
committed
Minor clean up
1 parent decc0cf commit 2dfc5bf

File tree

2 files changed

+14
-17
lines changed

2 files changed

+14
-17
lines changed

src/main/java/com/fasterxml/jackson/databind/introspect/POJOPropertiesCollector.java

+14-16
Original file line numberDiff line numberDiff line change
@@ -194,15 +194,6 @@ public Map<Object, AnnotatedMember> getInjectables() {
194194
return _injectables;
195195
}
196196

197-
@Deprecated // since 2.9
198-
public AnnotatedMethod getJsonValueMethod() {
199-
AnnotatedMember m = getJsonValueAccessor();
200-
if (m instanceof AnnotatedMethod) {
201-
return (AnnotatedMethod) m;
202-
}
203-
return null;
204-
}
205-
206197
/**
207198
* @since 2.9
208199
*/
@@ -290,13 +281,6 @@ public ObjectIdInfo getObjectIdInfo()
290281
return info;
291282
}
292283

293-
/**
294-
* Method for finding Class to use as POJO builder, if any.
295-
*/
296-
public Class<?> findPOJOBuilderClass() {
297-
return _annotationIntrospector.findPOJOBuilder(_classDef);
298-
}
299-
300284
// for unit tests:
301285
protected Map<String, POJOPropertyBuilder> getPropertyMap() {
302286
if (!_collected) {
@@ -305,6 +289,20 @@ protected Map<String, POJOPropertyBuilder> getPropertyMap() {
305289
return _properties;
306290
}
307291

292+
@Deprecated // since 2.9
293+
public AnnotatedMethod getJsonValueMethod() {
294+
AnnotatedMember m = getJsonValueAccessor();
295+
if (m instanceof AnnotatedMethod) {
296+
return (AnnotatedMethod) m;
297+
}
298+
return null;
299+
}
300+
301+
@Deprecated // since 2.11 (not used by anything at this point)
302+
public Class<?> findPOJOBuilderClass() {
303+
return _annotationIntrospector.findPOJOBuilder(_classDef);
304+
}
305+
308306
/*
309307
/**********************************************************
310308
/* Public API: main-level collection

src/test/java/com/fasterxml/jackson/databind/deser/jdk/TestEmptyArrayBlockingQueueDeser.java

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import java.util.Collection;
44
import java.util.concurrent.ArrayBlockingQueue;
55

6-
import com.fasterxml.jackson.core.JsonProcessingException;
76
import com.fasterxml.jackson.databind.*;
87

98
public class TestEmptyArrayBlockingQueueDeser extends BaseMapTest

0 commit comments

Comments
 (0)