calabash-android 0.4.7.pre4 → 0.4.7.pre6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/calabash-android/helpers.rb +22 -1
- data/lib/calabash-android/lib/TestServer.apk +0 -0
- data/lib/calabash-android/lib/apktool-cli-1.5.3-SNAPSHOT.jar +0 -0
- data/lib/calabash-android/version.rb +1 -1
- data/test-server/instrumentation-backend/.classpath +4 -1
- data/test-server/instrumentation-backend/libs/jackson-annotations-2.2.0-rc2-20130418.042013-1.jar +0 -0
- data/test-server/instrumentation-backend/libs/jackson-core-2.2.0-rc2-20130420.041001-2.jar +0 -0
- data/test-server/instrumentation-backend/libs/jackson-databind-2.2.0-rc2-20130422.041053-3.jar +0 -0
- data/test-server/instrumentation-backend/libs/robotium-solo-4.1.jar +0 -0
- data/test-server/instrumentation-backend/src/org/antlr/runtime/LegacyCommonTokenStream.java +6 -1
- data/test-server/instrumentation-backend/src/org/antlr/runtime/debug/DebugTokenStream.java +3 -3
- data/test-server/instrumentation-backend/src/org/antlr/runtime/misc/FastQueue.java +1 -1
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/BaseTreeAdaptor.java +4 -4
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/CommonErrorNode.java +8 -1
- data/test-server/instrumentation-backend/src/org/antlr/runtime/tree/TreeIterator.java +2 -3
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/CalabashInstrumentationTestRunner.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/InstrumentationBackend.java +2 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/HttpServer.java +21 -11
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/NanoHTTPD.java +127 -68
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/button/PressButtonText.java +2 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/button/PressImageButtonDescription.java +2 -3
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/gestures/Swipe.java +0 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/list/GetListData.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/list/GetListItemProperties.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/list/GetListItemText.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/text/AssertGridViewContainsNoDuplicates.java +4 -4
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/view/Press.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/view/SelectTab.java +4 -4
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForProgress.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForTab.java +4 -4
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/QueryHelper.java +2 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/json/JSONUtils.java +1 -1
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/QueryResult.java +2 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryASTClassName.java +0 -2
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/query/ast/UIQueryUtils.java +3 -2
- metadata +7 -411
- data/test-server/instrumentation-backend/libs/robotium-solo-3.6.jar +0 -0
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/activity/GetOpenedActivities.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/activity/GoBackToActivity.java +0 -67
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variant.java +0 -413
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Base64Variants.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/FormatSchema.java +0 -29
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonEncoding.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonFactory.java +0 -937
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerationException.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonGenerator.java +0 -1197
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonLocation.java +0 -141
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonNode.java +0 -879
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParseException.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonParser.java +0 -1434
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonProcessingException.java +0 -80
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonStreamContext.java +0 -122
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/JsonToken.java +0 -161
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/ObjectCodec.java +0 -157
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/PrettyPrinter.java +0 -166
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/SerializableString.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Version.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/Versioned.java +0 -20
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JacksonAnnotation.java +0 -20
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnyGetter.java +0 -25
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAnySetter.java +0 -24
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonAutoDetect.java +0 -148
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonBackReference.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonCreator.java +0 -19
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonGetter.java +0 -35
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnore.java +0 -57
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreProperties.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonIgnoreType.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonManagedReference.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonMethod.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonProperty.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonPropertyOrder.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonRawValue.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSetter.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonSubTypes.java +0 -44
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeInfo.java +0 -236
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonTypeName.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonUnwrapped.java +0 -76
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonValue.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/JsonWriteNullProperties.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/annotate/package-info.java +0 -16
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatDetector.java +0 -176
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/DataFormatMatcher.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/InputAccessor.java +0 -130
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/MatchStrength.java +0 -64
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/format/package-info.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ByteSourceBootstrapper.java +0 -518
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/DefaultPrettyPrinter.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Indenter.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonGeneratorBase.java +0 -570
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonNumericParserBase.java +0 -20
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserBase.java +0 -1067
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonParserMinimalBase.java +0 -539
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonReadContext.java +0 -188
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/JsonWriteContext.java +0 -178
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParser.java +0 -1815
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/ReaderBasedParserBase.java +0 -228
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/StreamBasedParserBase.java +0 -197
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8Generator.java +0 -1757
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/Utf8StreamParser.java +0 -2966
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/WriterBasedGenerator.java +0 -1815
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/impl/package-info.java +0 -6
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/BaseReader.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/CharacterEscapes.java +0 -73
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/IOContext.java +0 -239
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/InputDecorator.java +0 -67
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/JsonStringEncoder.java +0 -408
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/MergedStream.java +0 -145
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberInput.java +0 -303
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/NumberOutput.java +0 -398
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/OutputDecorator.java +0 -40
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SegmentedStringWriter.java +0 -104
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/SerializedString.java +0 -114
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF32Reader.java +0 -214
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/UTF8Writer.java +0 -387
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/io/package.html +0 -4
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AbstractTypeResolver.java +0 -63
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/AnnotationIntrospector.java +0 -1485
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanDescription.java +0 -171
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanProperty.java +0 -123
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/BeanPropertyDefinition.java +0 -66
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ClassIntrospector.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualDeserializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualKeyDeserializer.java +0 -33
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ContextualSerializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationConfig.java +0 -926
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationContext.java +0 -262
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializationProblemHandler.java +0 -56
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerFactory.java +0 -356
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/DeserializerProvider.java +0 -185
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Deserializers.java +0 -339
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/HandlerInstantiator.java +0 -115
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/InjectableValues.java +0 -85
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonDeserializer.java +0 -166
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonMappingException.java +0 -335
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializable.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializableWithType.java +0 -22
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/JsonSerializer.java +0 -138
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializer.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/KeyDeserializers.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MapperConfig.java +0 -1154
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingIterator.java +0 -190
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/MappingJsonFactory.java +0 -81
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Module.java +0 -255
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectMapper.java +0 -2885
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectReader.java +0 -958
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ObjectWriter.java +0 -554
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/PropertyNamingStrategy.java +0 -258
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableDeserializer.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ResolvableSerializer.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/RuntimeJsonMappingException.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializationConfig.java +0 -1041
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerFactory.java +0 -198
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/SerializerProvider.java +0 -552
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/Serializers.java +0 -137
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeDeserializer.java +0 -118
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/TypeSerializer.java +0 -164
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonInject.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JacksonStdImpl.java +0 -25
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonCachable.java +0 -32
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonDeserialize.java +0 -109
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonFilter.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonRootName.java +0 -29
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonSerialize.java +0 -216
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeIdResolver.java +0 -35
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonTypeResolver.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonValueInstantiator.java +0 -26
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/JsonView.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/NoClass.java +0 -19
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/annotate/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/AbstractDeserializer.java +0 -102
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializer.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ArrayDeserializers.java +0 -11
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BasicDeserializerFactory.java +0 -894
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializer.java +0 -1537
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerBuilder.java +0 -277
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerFactory.java +0 -1474
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/BeanDeserializerModifier.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CollectionDeserializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ContainerDeserializer.java +0 -14
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/CustomDeserializerFactory.java +0 -227
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/DateDeserializer.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumDeserializer.java +0 -15
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/EnumResolver.java +0 -17
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/FromStringDeserializer.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/JsonNodeDeserializer.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/MapDeserializer.java +0 -44
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableAnyProperty.java +0 -177
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/SettableBeanProperty.java +0 -827
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializationContext.java +0 -326
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializer.java +0 -94
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializerProvider.java +0 -494
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdDeserializers.java +0 -119
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializer.java +0 -12
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdKeyDeserializers.java +0 -11
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/StdScalarDeserializer.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ThrowableDeserializer.java +0 -13
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/UntypedObjectDeserializer.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiator.java +0 -280
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/ValueInstantiators.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/BeanPropertyMap.java +0 -257
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorCollector.java +0 -141
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/CreatorProperty.java +0 -152
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ExternalTypeHandler.java +0 -173
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyBasedCreator.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValue.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/PropertyValueBuffer.java +0 -102
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/UnwrappedPropertyHandler.java +0 -41
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/ValueInjector.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/impl/package-info.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicBooleanDeserializer.java +0 -22
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/AtomicReferenceDeserializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CalendarDeserializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ClassDeserializer.java +0 -49
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/CollectionDeserializer.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ContainerDeserializerBase.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/DateDeserializer.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumDeserializer.java +0 -139
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumMapDeserializer.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/EnumSetDeserializer.java +0 -89
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/FromStringDeserializer.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JavaTypeDeserializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/JsonNodeDeserializer.java +0 -314
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/MapDeserializer.java +0 -412
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ObjectArrayDeserializer.java +0 -201
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/PrimitiveArrayDeserializers.java +0 -583
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdDeserializer.java +0 -1136
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializer.java +0 -340
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdKeyDeserializers.java +0 -108
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdScalarDeserializer.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StdValueInstantiator.java +0 -392
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringCollectionDeserializer.java +0 -227
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/StringDeserializer.java +0 -55
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/ThrowableDeserializer.java +0 -164
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TimestampDeserializer.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/TokenBufferDeserializer.java +0 -36
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/UntypedObjectDeserializer.java +0 -248
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/deser/std/package-info.java +0 -15
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/exc/UnrecognizedPropertyException.java +0 -75
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/DOMDeserializer.java +0 -65
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/OptionalHandlerFactory.java +0 -217
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ext/package-info.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/Annotated.java +0 -85
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedClass.java +0 -980
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedConstructor.java +0 -143
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedField.java +0 -119
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMember.java +0 -56
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethod.java +0 -188
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedMethodMap.java +0 -85
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedParameter.java +0 -191
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotatedWithParams.java +0 -195
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/AnnotationMap.java +0 -101
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicBeanDescription.java +0 -615
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/BasicClassIntrospector.java +0 -364
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/JacksonAnnotationIntrospector.java +0 -813
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MemberKey.java +0 -83
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/MethodFilter.java +0 -12
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/NopAnnotationIntrospector.java +0 -209
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertiesCollector.java +0 -713
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/POJOPropertyBuilder.java +0 -648
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/VisibilityChecker.java +0 -424
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/introspect/package-info.java +0 -12
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/NamedType.java +0 -53
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/SubtypeResolver.java +0 -39
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeIdResolver.java +0 -74
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/TypeResolverBuilder.java +0 -151
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeDeserializer.java +0 -126
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsArrayTypeSerializer.java +0 -110
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeDeserializer.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsExternalTypeSerializer.java +0 -129
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeDeserializer.java +0 -191
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsPropertyTypeSerializer.java +0 -69
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeDeserializer.java +0 -103
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/AsWrapperTypeSerializer.java +0 -121
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/ClassNameIdResolver.java +0 -138
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/MinimalClassNameIdResolver.java +0 -66
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdSubtypeResolver.java +0 -151
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/StdTypeResolverBuilder.java +0 -202
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeDeserializerBase.java +0 -154
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeIdResolverBase.java +0 -37
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeNameIdResolver.java +0 -154
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/TypeSerializerBase.java +0 -31
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/impl/package-info.java +0 -9
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/jsontype/package-info.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleAbstractTypeResolver.java +0 -86
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleDeserializers.java +0 -130
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleKeyDeserializers.java +0 -59
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleModule.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleSerializers.java +0 -206
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/SimpleValueInstantiators.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/module/package-info.java +0 -16
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/package-info.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/AnyGetterWriter.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ArraySerializers.java +0 -7
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BasicSerializerFactory.java +0 -806
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyFilter.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanPropertyWriter.java +0 -512
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializer.java +0 -126
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerBuilder.java +0 -140
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerFactory.java +0 -780
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/BeanSerializerModifier.java +0 -95
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ContainerSerializers.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/CustomSerializerFactory.java +0 -293
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/EnumSerializer.java +0 -17
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilterProvider.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/FilteredBeanPropertyWriter.java +0 -96
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/JdkSerializers.java +0 -11
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/MapSerializer.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/PropertyBuilder.java +0 -372
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ScalarSerializerBase.java +0 -18
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/SerializerBase.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdKeySerializer.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializerProvider.java +0 -852
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/StdSerializers.java +0 -372
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/ToStringSerializer.java +0 -14
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/FailingSerializer.java +0 -43
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/JsonSerializerMap.java +0 -93
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/PropertySerializerMap.java +0 -231
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/ReadOnlyClassToSerializerMap.java +0 -73
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SerializerCache.java +0 -304
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleBeanPropertyFilter.java +0 -109
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/SimpleFilterProvider.java +0 -114
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnknownSerializer.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanPropertyWriter.java +0 -99
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/UnwrappingBeanSerializer.java +0 -76
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/impl/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/AsArraySerializerBase.java +0 -185
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/BeanSerializerBase.java +0 -340
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CalendarSerializer.java +0 -43
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/CollectionSerializer.java +0 -113
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ContainerSerializerBase.java +0 -51
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/DateSerializer.java +0 -42
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumMapSerializer.java +0 -218
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSerializer.java +0 -84
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/EnumSetSerializer.java +0 -47
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IndexedStringListSerializer.java +0 -116
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/InetAddressSerializer.java +0 -51
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/IterableSerializer.java +0 -63
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/JsonValueSerializer.java +0 -233
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/MapSerializer.java +0 -422
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NonTypedScalarSerializerBase.java +0 -34
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/NullSerializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ObjectArraySerializer.java +0 -281
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/RawSerializer.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ScalarSerializerBase.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableSerializer.java +0 -99
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializableWithTypeSerializer.java +0 -90
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/SerializerBase.java +0 -184
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StaticListSerializerBase.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdArraySerializers.java +0 -476
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdContainerSerializers.java +0 -249
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdJdkSerializers.java +0 -195
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializer.java +0 -43
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StdKeySerializers.java +0 -95
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringCollectionSerializer.java +0 -119
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/StringSerializer.java +0 -36
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TimeZoneSerializer.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/ToStringSerializer.java +0 -73
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/ser/std/TokenBufferSerializer.java +0 -66
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ArrayType.java +0 -260
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/ClassKey.java +0 -94
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionLikeType.java +0 -204
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/CollectionType.java +0 -94
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/HierarchicType.java +0 -88
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapLikeType.java +0 -265
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/MapType.java +0 -146
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/SimpleType.java +0 -250
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBase.java +0 -148
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeBindings.java +0 -351
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeFactory.java +0 -1165
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeModifier.java +0 -38
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/TypeParser.java +0 -134
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/type/package-info.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Annotations.java +0 -23
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ArrayBuilders.java +0 -293
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/BeanUtil.java +0 -260
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ClassUtil.java +0 -645
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Comparators.java +0 -48
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumResolver.java +0 -108
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/EnumValues.java +0 -82
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601DateFormat.java +0 -52
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ISO8601Utils.java +0 -230
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONPObject.java +0 -105
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/JSONWrappedObject.java +0 -117
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LRUMap.java +0 -28
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/LinkedNode.java +0 -45
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Named.java +0 -10
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/ObjectBuffer.java +0 -257
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/PrimitiveArrayBuilder.java +0 -180
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Provider.java +0 -21
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/RootNameLookup.java +0 -54
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/StdDateFormat.java +0 -348
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/package-info.java +0 -4
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ArrayNode.java +0 -758
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BaseJsonNode.java +0 -122
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BigIntegerNode.java +0 -104
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BinaryNode.java +0 -136
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/BooleanNode.java +0 -84
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ContainerNode.java +0 -185
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DecimalNode.java +0 -96
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/DoubleNode.java +0 -106
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/IntNode.java +0 -122
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/JsonNodeFactory.java +0 -222
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/LongNode.java +0 -99
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/MissingNode.java +0 -97
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NodeCursor.java +0 -222
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NullNode.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/NumericNode.java +0 -72
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ObjectNode.java +0 -696
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/POJONode.java +0 -145
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TextNode.java +0 -299
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/TreeTraversingParser.java +0 -383
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/ValueNode.java +0 -58
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/node/package-info.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/package-info.java +0 -30
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSchema.java +0 -82
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/JsonSerializableSchema.java +0 -46
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/SchemaAware.java +0 -25
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/schema/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/BytesToNameCanonicalizer.java +0 -969
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/CharsToNameCanonicalizer.java +0 -578
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name.java +0 -50
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name1.java +0 -44
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name2.java +0 -40
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/Name3.java +0 -39
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/NameN.java +0 -68
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/sym/package-info.java +0 -5
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/JavaType.java +0 -503
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/TypeReference.java +0 -60
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/type/package-info.java +0 -8
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/BufferRecycler.java +0 -109
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/ByteArrayBuilder.java +0 -294
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/CharTypes.java +0 -237
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/DefaultPrettyPrinter.java +0 -282
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/InternCache.java +0 -49
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonGeneratorDelegate.java +0 -273
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserDelegate.java +0 -251
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/JsonParserSequence.java +0 -150
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/MinimalPrettyPrinter.java +0 -152
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TextBuffer.java +0 -707
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/TokenBuffer.java +0 -1233
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/VersionUtil.java +0 -79
- data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/package-info.java +0 -4
@@ -1,180 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.util;
|
2
|
-
|
3
|
-
/**
|
4
|
-
* Base class for specialized primitive array builders.
|
5
|
-
*/
|
6
|
-
public abstract class PrimitiveArrayBuilder<T>
|
7
|
-
{
|
8
|
-
/**
|
9
|
-
* Let's start with small chunks; typical usage is for small arrays anyway.
|
10
|
-
*/
|
11
|
-
final static int INITIAL_CHUNK_SIZE = 12;
|
12
|
-
|
13
|
-
/**
|
14
|
-
* Also: let's expand by doubling up until 64k chunks (which is 16k entries for
|
15
|
-
* 32-bit machines)
|
16
|
-
*/
|
17
|
-
final static int SMALL_CHUNK_SIZE = (1 << 14);
|
18
|
-
|
19
|
-
/**
|
20
|
-
* Let's limit maximum size of chunks we use; helps avoid excessive allocation
|
21
|
-
* overhead for huge data sets.
|
22
|
-
* For now, let's limit to quarter million entries, 1 meg chunks for 32-bit
|
23
|
-
* machines.
|
24
|
-
*/
|
25
|
-
final static int MAX_CHUNK_SIZE = (1 << 18);
|
26
|
-
|
27
|
-
// // // Data storage
|
28
|
-
|
29
|
-
T _freeBuffer;
|
30
|
-
|
31
|
-
Node<T> _bufferHead;
|
32
|
-
|
33
|
-
Node<T> _bufferTail;
|
34
|
-
|
35
|
-
/**
|
36
|
-
* Number of total buffered entries in this buffer, counting all instances
|
37
|
-
* within linked list formed by following {@link #_bufferHead}.
|
38
|
-
*/
|
39
|
-
int _bufferedEntryCount;
|
40
|
-
|
41
|
-
// // // Recycled instances of sub-classes
|
42
|
-
|
43
|
-
// // // Life-cycle
|
44
|
-
|
45
|
-
protected PrimitiveArrayBuilder() { }
|
46
|
-
|
47
|
-
/*
|
48
|
-
////////////////////////////////////////////////////////////////////////
|
49
|
-
// Public API
|
50
|
-
////////////////////////////////////////////////////////////////////////
|
51
|
-
*/
|
52
|
-
|
53
|
-
public T resetAndStart()
|
54
|
-
{
|
55
|
-
_reset();
|
56
|
-
return (_freeBuffer == null) ?
|
57
|
-
_constructArray(INITIAL_CHUNK_SIZE) : _freeBuffer;
|
58
|
-
}
|
59
|
-
|
60
|
-
/**
|
61
|
-
* @return Length of the next chunk to allocate
|
62
|
-
*/
|
63
|
-
public final T appendCompletedChunk(T fullChunk, int fullChunkLength)
|
64
|
-
{
|
65
|
-
Node<T> next = new Node<T>(fullChunk, fullChunkLength);
|
66
|
-
if (_bufferHead == null) { // first chunk
|
67
|
-
_bufferHead = _bufferTail = next;
|
68
|
-
} else { // have something already
|
69
|
-
_bufferTail.linkNext(next);
|
70
|
-
_bufferTail = next;
|
71
|
-
}
|
72
|
-
_bufferedEntryCount += fullChunkLength;
|
73
|
-
int nextLen = fullChunkLength; // start with last chunk size
|
74
|
-
// double the size for small chunks
|
75
|
-
if (nextLen < SMALL_CHUNK_SIZE) {
|
76
|
-
nextLen += nextLen;
|
77
|
-
} else { // but by +25% for larger (to limit overhead)
|
78
|
-
nextLen += (nextLen >> 2);
|
79
|
-
}
|
80
|
-
return _constructArray(nextLen);
|
81
|
-
}
|
82
|
-
|
83
|
-
public T completeAndClearBuffer(T lastChunk, int lastChunkEntries)
|
84
|
-
{
|
85
|
-
int totalSize = lastChunkEntries + _bufferedEntryCount;
|
86
|
-
T resultArray = _constructArray(totalSize);
|
87
|
-
|
88
|
-
int ptr = 0;
|
89
|
-
|
90
|
-
for (Node<T> n = _bufferHead; n != null; n = n.next()) {
|
91
|
-
ptr = n.copyData(resultArray, ptr);
|
92
|
-
}
|
93
|
-
System.arraycopy(lastChunk, 0, resultArray, ptr, lastChunkEntries);
|
94
|
-
ptr += lastChunkEntries;
|
95
|
-
|
96
|
-
// sanity check (could have failed earlier due to out-of-bounds, too)
|
97
|
-
if (ptr != totalSize) {
|
98
|
-
throw new IllegalStateException("Should have gotten "+totalSize+" entries, got "+ptr);
|
99
|
-
}
|
100
|
-
return resultArray;
|
101
|
-
}
|
102
|
-
|
103
|
-
/*
|
104
|
-
////////////////////////////////////////////////////////////////////////
|
105
|
-
// Abstract methods for sub-classes to implement
|
106
|
-
////////////////////////////////////////////////////////////////////////
|
107
|
-
*/
|
108
|
-
|
109
|
-
protected abstract T _constructArray(int len);
|
110
|
-
|
111
|
-
/*
|
112
|
-
////////////////////////////////////////////////////////////////////////
|
113
|
-
// Internal methods
|
114
|
-
////////////////////////////////////////////////////////////////////////
|
115
|
-
*/
|
116
|
-
|
117
|
-
protected void _reset()
|
118
|
-
{
|
119
|
-
// can we reuse the last (and thereby biggest) array for next time?
|
120
|
-
if (_bufferTail != null) {
|
121
|
-
_freeBuffer = _bufferTail.getData();
|
122
|
-
}
|
123
|
-
// either way, must discard current contents
|
124
|
-
_bufferHead = _bufferTail = null;
|
125
|
-
_bufferedEntryCount = 0;
|
126
|
-
}
|
127
|
-
|
128
|
-
/*
|
129
|
-
////////////////////////////////////////////////////////////////////////
|
130
|
-
// Helper classes
|
131
|
-
////////////////////////////////////////////////////////////////////////
|
132
|
-
*/
|
133
|
-
|
134
|
-
/**
|
135
|
-
* For actual buffering beyond the current buffer, we can actually
|
136
|
-
* use shared class which only deals with opaque "untyped" chunks.
|
137
|
-
* This works because {@link java.lang.System#arraycopy} does not
|
138
|
-
* take type; hence we can implement some aspects of primitive data
|
139
|
-
* handling in generic fashion.
|
140
|
-
*/
|
141
|
-
final static class Node<T>
|
142
|
-
{
|
143
|
-
/**
|
144
|
-
* Data stored in this node.
|
145
|
-
*/
|
146
|
-
final T _data;
|
147
|
-
|
148
|
-
/**
|
149
|
-
* Number entries in the (untyped) array. Offset is assumed to be 0.
|
150
|
-
*/
|
151
|
-
final int _dataLength;
|
152
|
-
|
153
|
-
Node<T> _next;
|
154
|
-
|
155
|
-
public Node(T data, int dataLen)
|
156
|
-
{
|
157
|
-
_data = data;
|
158
|
-
_dataLength = dataLen;
|
159
|
-
}
|
160
|
-
|
161
|
-
public T getData() { return _data; }
|
162
|
-
|
163
|
-
public int copyData(T dst, int ptr)
|
164
|
-
{
|
165
|
-
System.arraycopy(_data, 0, dst, ptr, _dataLength);
|
166
|
-
ptr += _dataLength;
|
167
|
-
return ptr;
|
168
|
-
}
|
169
|
-
|
170
|
-
public Node<T> next() { return _next; }
|
171
|
-
|
172
|
-
public void linkNext(Node<T> next)
|
173
|
-
{
|
174
|
-
if (_next != null) { // sanity check
|
175
|
-
throw new IllegalStateException();
|
176
|
-
}
|
177
|
-
_next = next;
|
178
|
-
}
|
179
|
-
}
|
180
|
-
}
|
data/test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/map/util/Provider.java
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.util;
|
2
|
-
|
3
|
-
import java.util.*;
|
4
|
-
|
5
|
-
/**
|
6
|
-
* Simple helper class used for decoupling instantiation of
|
7
|
-
* optionally loaded handlers, like deserializers and deserializers
|
8
|
-
* for libraries that are only present on some platforms.
|
9
|
-
*
|
10
|
-
* @author tatu
|
11
|
-
*
|
12
|
-
* @param <T> Type of objects provided
|
13
|
-
*/
|
14
|
-
public interface Provider<T>
|
15
|
-
{
|
16
|
-
/**
|
17
|
-
* Method used to request provider to provide entries it has
|
18
|
-
*/
|
19
|
-
public Collection<T> provide();
|
20
|
-
}
|
21
|
-
|
@@ -1,54 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.util;
|
2
|
-
|
3
|
-
import sh.calaba.org.codehaus.jackson.io.SerializedString;
|
4
|
-
import sh.calaba.org.codehaus.jackson.map.AnnotationIntrospector;
|
5
|
-
import sh.calaba.org.codehaus.jackson.map.MapperConfig;
|
6
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.AnnotatedClass;
|
7
|
-
import sh.calaba.org.codehaus.jackson.map.introspect.BasicBeanDescription;
|
8
|
-
import sh.calaba.org.codehaus.jackson.map.type.ClassKey;
|
9
|
-
import sh.calaba.org.codehaus.jackson.type.JavaType;
|
10
|
-
|
11
|
-
/**
|
12
|
-
* Helper class for caching resolved root names.
|
13
|
-
*/
|
14
|
-
public class RootNameLookup
|
15
|
-
{
|
16
|
-
/**
|
17
|
-
* For efficient operation, let's try to minimize number of times we
|
18
|
-
* need to introspect root element name to use.
|
19
|
-
*/
|
20
|
-
protected LRUMap<ClassKey,SerializedString> _rootNames;
|
21
|
-
|
22
|
-
public RootNameLookup() { }
|
23
|
-
|
24
|
-
public SerializedString findRootName(JavaType rootType, MapperConfig<?> config)
|
25
|
-
{
|
26
|
-
return findRootName(rootType.getRawClass(), config);
|
27
|
-
}
|
28
|
-
|
29
|
-
public synchronized SerializedString findRootName(Class<?> rootType, MapperConfig<?> config)
|
30
|
-
{
|
31
|
-
ClassKey key = new ClassKey(rootType);
|
32
|
-
|
33
|
-
if (_rootNames == null) {
|
34
|
-
_rootNames = new LRUMap<ClassKey,SerializedString>(20, 200);
|
35
|
-
} else {
|
36
|
-
SerializedString name = _rootNames.get(key);
|
37
|
-
if (name != null) {
|
38
|
-
return name;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
BasicBeanDescription beanDesc = (BasicBeanDescription) config.introspectClassAnnotations(rootType);
|
42
|
-
AnnotationIntrospector intr = config.getAnnotationIntrospector();
|
43
|
-
AnnotatedClass ac = beanDesc.getClassInfo();
|
44
|
-
String nameStr = intr.findRootName(ac);
|
45
|
-
// No answer so far? Let's just default to using simple class name
|
46
|
-
if (nameStr == null) {
|
47
|
-
// Should we strip out enclosing class tho? For now, nope:
|
48
|
-
nameStr = rootType.getSimpleName();
|
49
|
-
}
|
50
|
-
SerializedString name = new SerializedString(nameStr);
|
51
|
-
_rootNames.put(key, name);
|
52
|
-
return name;
|
53
|
-
}
|
54
|
-
}
|
@@ -1,348 +0,0 @@
|
|
1
|
-
package sh.calaba.org.codehaus.jackson.map.util;
|
2
|
-
|
3
|
-
import java.text.DateFormat;
|
4
|
-
import java.text.FieldPosition;
|
5
|
-
import java.text.ParseException;
|
6
|
-
import java.text.ParsePosition;
|
7
|
-
import java.text.SimpleDateFormat;
|
8
|
-
import java.util.*;
|
9
|
-
|
10
|
-
import sh.calaba.org.codehaus.jackson.io.NumberInput;
|
11
|
-
|
12
|
-
/**
|
13
|
-
* Default {@link DateFormat} implementation used by standard Date
|
14
|
-
* serializers and deserializers. For serialization defaults to using
|
15
|
-
* an ISO-8601 compliant format (format String "yyyy-MM-dd'T'HH:mm:ss.SSSZ")
|
16
|
-
* and for deserialization, both ISO-8601 and RFC-1123.
|
17
|
-
*/
|
18
|
-
@SuppressWarnings("serial")
|
19
|
-
public class StdDateFormat
|
20
|
-
extends DateFormat
|
21
|
-
{
|
22
|
-
/* TODO !!! 24-Nov-2009, tatu: Need to rewrite this class soon:
|
23
|
-
* JDK date parsing is awfully brittle, and ISO-8601 is quite
|
24
|
-
* permissive. The two don't mix, need to write a better one.
|
25
|
-
*/
|
26
|
-
|
27
|
-
/**
|
28
|
-
* Defines a commonly used date format that conforms
|
29
|
-
* to ISO-8601 date formatting standard, when it includes basic undecorated
|
30
|
-
* timezone definition
|
31
|
-
*/
|
32
|
-
protected final static String DATE_FORMAT_STR_ISO8601 = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
|
33
|
-
|
34
|
-
/**
|
35
|
-
* Same as 'regular' 8601, but handles 'Z' as an alias for "+0000"
|
36
|
-
* (or "GMT")
|
37
|
-
*/
|
38
|
-
protected final static String DATE_FORMAT_STR_ISO8601_Z = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
|
39
|
-
|
40
|
-
/**
|
41
|
-
* ISO-8601 with just the Date part, no time
|
42
|
-
*
|
43
|
-
* @since 1.3.1
|
44
|
-
*/
|
45
|
-
protected final static String DATE_FORMAT_STR_PLAIN = "yyyy-MM-dd";
|
46
|
-
|
47
|
-
/**
|
48
|
-
* This constant defines the date format specified by
|
49
|
-
* RFC 1123.
|
50
|
-
*/
|
51
|
-
protected final static String DATE_FORMAT_STR_RFC1123 = "EEE, dd MMM yyyy HH:mm:ss zzz";
|
52
|
-
|
53
|
-
/**
|
54
|
-
* For error messages we'll also need a list of all formats.
|
55
|
-
*/
|
56
|
-
protected final static String[] ALL_FORMATS = new String[] {
|
57
|
-
DATE_FORMAT_STR_ISO8601,
|
58
|
-
DATE_FORMAT_STR_ISO8601_Z,
|
59
|
-
DATE_FORMAT_STR_RFC1123,
|
60
|
-
DATE_FORMAT_STR_PLAIN
|
61
|
-
};
|
62
|
-
|
63
|
-
protected final static DateFormat DATE_FORMAT_RFC1123;
|
64
|
-
|
65
|
-
protected final static DateFormat DATE_FORMAT_ISO8601;
|
66
|
-
protected final static DateFormat DATE_FORMAT_ISO8601_Z;
|
67
|
-
|
68
|
-
protected final static DateFormat DATE_FORMAT_PLAIN;
|
69
|
-
|
70
|
-
/* Let's construct "blueprint" date format instances: can not be used
|
71
|
-
* as is, due to thread-safety issues, but can be used for constructing
|
72
|
-
* actual instances more cheaply (avoids re-parsing).
|
73
|
-
*/
|
74
|
-
static {
|
75
|
-
/* Another important thing: let's force use of GMT for
|
76
|
-
* baseline DataFormat objects
|
77
|
-
*/
|
78
|
-
TimeZone gmt = TimeZone.getTimeZone("GMT");
|
79
|
-
DATE_FORMAT_RFC1123 = new SimpleDateFormat(DATE_FORMAT_STR_RFC1123);
|
80
|
-
DATE_FORMAT_RFC1123.setTimeZone(gmt);
|
81
|
-
DATE_FORMAT_ISO8601 = new SimpleDateFormat(DATE_FORMAT_STR_ISO8601);
|
82
|
-
DATE_FORMAT_ISO8601.setTimeZone(gmt);
|
83
|
-
DATE_FORMAT_ISO8601_Z = new SimpleDateFormat(DATE_FORMAT_STR_ISO8601_Z);
|
84
|
-
DATE_FORMAT_ISO8601_Z.setTimeZone(gmt);
|
85
|
-
DATE_FORMAT_PLAIN = new SimpleDateFormat(DATE_FORMAT_STR_PLAIN);
|
86
|
-
DATE_FORMAT_PLAIN.setTimeZone(gmt);
|
87
|
-
}
|
88
|
-
|
89
|
-
/**
|
90
|
-
* A singleton instance can be used for cloning purposes.
|
91
|
-
*/
|
92
|
-
public final static StdDateFormat instance = new StdDateFormat();
|
93
|
-
|
94
|
-
protected transient DateFormat _formatRFC1123;
|
95
|
-
protected transient DateFormat _formatISO8601;
|
96
|
-
protected transient DateFormat _formatISO8601_z;
|
97
|
-
protected transient DateFormat _formatPlain;
|
98
|
-
|
99
|
-
/*
|
100
|
-
/**********************************************************
|
101
|
-
/* Life cycle, accessing singleton "standard" formats
|
102
|
-
/**********************************************************
|
103
|
-
*/
|
104
|
-
|
105
|
-
public StdDateFormat() { }
|
106
|
-
|
107
|
-
@Override
|
108
|
-
public StdDateFormat clone() {
|
109
|
-
/* Since we always delegate all work to child DateFormat instances,
|
110
|
-
* let's NOT call super.clone(); this is bit unusual, but makes
|
111
|
-
* sense here to avoid unnecessary work.
|
112
|
-
*/
|
113
|
-
return new StdDateFormat();
|
114
|
-
}
|
115
|
-
|
116
|
-
/**
|
117
|
-
* Method for getting the globally shared DateFormat instance
|
118
|
-
* that uses GMT timezone and can handle simple ISO-8601
|
119
|
-
* compliant date format.
|
120
|
-
*/
|
121
|
-
public static DateFormat getBlueprintISO8601Format() {
|
122
|
-
return DATE_FORMAT_ISO8601;
|
123
|
-
}
|
124
|
-
|
125
|
-
/**
|
126
|
-
* Method for getting a non-shared DateFormat instance
|
127
|
-
* that uses specified timezone and can handle simple ISO-8601
|
128
|
-
* compliant date format.
|
129
|
-
*/
|
130
|
-
public static DateFormat getISO8601Format(TimeZone tz) {
|
131
|
-
DateFormat df = (DateFormat) DATE_FORMAT_ISO8601.clone();
|
132
|
-
df.setTimeZone(tz);
|
133
|
-
return df;
|
134
|
-
}
|
135
|
-
|
136
|
-
/**
|
137
|
-
* Method for getting the globally shared DateFormat instance
|
138
|
-
* that uses GMT timezone and can handle RFC-1123
|
139
|
-
* compliant date format.
|
140
|
-
*/
|
141
|
-
public static DateFormat getBlueprintRFC1123Format() {
|
142
|
-
return DATE_FORMAT_RFC1123;
|
143
|
-
}
|
144
|
-
|
145
|
-
|
146
|
-
/**
|
147
|
-
* Method for getting a non-shared DateFormat instance
|
148
|
-
* that uses specific timezone and can handle RFC-1123
|
149
|
-
* compliant date format.
|
150
|
-
*/
|
151
|
-
public static DateFormat getRFC1123Format(TimeZone tz)
|
152
|
-
{
|
153
|
-
DateFormat df = (DateFormat) DATE_FORMAT_RFC1123.clone();
|
154
|
-
df.setTimeZone(tz);
|
155
|
-
return df;
|
156
|
-
}
|
157
|
-
|
158
|
-
/*
|
159
|
-
/**********************************************************
|
160
|
-
/* Public API
|
161
|
-
/**********************************************************
|
162
|
-
*/
|
163
|
-
|
164
|
-
@Override
|
165
|
-
public Date parse(String dateStr) throws ParseException
|
166
|
-
{
|
167
|
-
dateStr = dateStr.trim();
|
168
|
-
ParsePosition pos = new ParsePosition(0);
|
169
|
-
Date result = parse(dateStr, pos);
|
170
|
-
if (result != null) {
|
171
|
-
return result;
|
172
|
-
}
|
173
|
-
|
174
|
-
StringBuilder sb = new StringBuilder();
|
175
|
-
for (String f : ALL_FORMATS) {
|
176
|
-
if (sb.length() > 0) {
|
177
|
-
sb.append("\", \"");
|
178
|
-
} else {
|
179
|
-
sb.append('"');
|
180
|
-
}
|
181
|
-
sb.append(f);
|
182
|
-
}
|
183
|
-
sb.append('"');
|
184
|
-
throw new ParseException
|
185
|
-
(String.format("Can not parse date \"%s\": not compatible with any of standard forms (%s)",
|
186
|
-
dateStr, sb.toString()), pos.getErrorIndex());
|
187
|
-
}
|
188
|
-
|
189
|
-
@Override
|
190
|
-
public Date parse(String dateStr, ParsePosition pos)
|
191
|
-
{
|
192
|
-
if (looksLikeISO8601(dateStr)) { // also includes "plain"
|
193
|
-
return parseAsISO8601(dateStr, pos);
|
194
|
-
}
|
195
|
-
/* 14-Feb-2010, tatu: As per [JACKSON-236], better also
|
196
|
-
* consider "stringified" simple time stamp
|
197
|
-
*/
|
198
|
-
int i = dateStr.length();
|
199
|
-
while (--i >= 0) {
|
200
|
-
char ch = dateStr.charAt(i);
|
201
|
-
if (ch < '0' || ch > '9') break;
|
202
|
-
}
|
203
|
-
if (i < 0) { // all digits
|
204
|
-
if (NumberInput.inLongRange(dateStr, false)) {
|
205
|
-
return new Date(Long.parseLong(dateStr));
|
206
|
-
}
|
207
|
-
}
|
208
|
-
// Otherwise, fall back to using RFC 1123
|
209
|
-
return parseAsRFC1123(dateStr, pos);
|
210
|
-
}
|
211
|
-
|
212
|
-
@Override
|
213
|
-
public StringBuffer format(Date date, StringBuffer toAppendTo,
|
214
|
-
FieldPosition fieldPosition)
|
215
|
-
{
|
216
|
-
if (_formatISO8601 == null) {
|
217
|
-
_formatISO8601 = (DateFormat) DATE_FORMAT_ISO8601.clone();
|
218
|
-
}
|
219
|
-
return _formatISO8601.format(date, toAppendTo, fieldPosition);
|
220
|
-
}
|
221
|
-
|
222
|
-
/*
|
223
|
-
/**********************************************************
|
224
|
-
/* Helper methods
|
225
|
-
/**********************************************************
|
226
|
-
*/
|
227
|
-
|
228
|
-
/**
|
229
|
-
* Overridable helper method used to figure out which of supported
|
230
|
-
* formats is the likeliest match.
|
231
|
-
*/
|
232
|
-
protected boolean looksLikeISO8601(String dateStr)
|
233
|
-
{
|
234
|
-
if (dateStr.length() >= 5
|
235
|
-
&& Character.isDigit(dateStr.charAt(0))
|
236
|
-
&& Character.isDigit(dateStr.charAt(3))
|
237
|
-
&& dateStr.charAt(4) == '-'
|
238
|
-
) {
|
239
|
-
return true;
|
240
|
-
}
|
241
|
-
return false;
|
242
|
-
}
|
243
|
-
|
244
|
-
protected Date parseAsISO8601(String dateStr, ParsePosition pos)
|
245
|
-
{
|
246
|
-
/* 21-May-2009, tatu: DateFormat has very strict handling of
|
247
|
-
* timezone modifiers for ISO-8601. So we need to do some scrubbing.
|
248
|
-
*/
|
249
|
-
|
250
|
-
/* First: do we have "zulu" format ('Z' == "GMT")? If yes, that's
|
251
|
-
* quite simple because we already set date format timezone to be
|
252
|
-
* GMT, and hence can just strip out 'Z' altogether
|
253
|
-
*/
|
254
|
-
int len = dateStr.length();
|
255
|
-
char c = dateStr.charAt(len-1);
|
256
|
-
DateFormat df;
|
257
|
-
|
258
|
-
// [JACKSON-200]: need to support "plain" date...
|
259
|
-
if (len <= 10 && Character.isDigit(c)) {
|
260
|
-
df = _formatPlain;
|
261
|
-
if (df == null) {
|
262
|
-
df = _formatPlain = (DateFormat) DATE_FORMAT_PLAIN.clone();
|
263
|
-
}
|
264
|
-
} else if (c == 'Z') {
|
265
|
-
df = _formatISO8601_z;
|
266
|
-
if (df == null) {
|
267
|
-
df = _formatISO8601_z = (DateFormat) DATE_FORMAT_ISO8601_Z.clone();
|
268
|
-
}
|
269
|
-
// [JACKSON-334]: may be missing milliseconds... if so, add
|
270
|
-
if (dateStr.charAt(len-4) == ':') {
|
271
|
-
StringBuilder sb = new StringBuilder(dateStr);
|
272
|
-
sb.insert(len-1, ".000");
|
273
|
-
dateStr = sb.toString();
|
274
|
-
}
|
275
|
-
} else {
|
276
|
-
// Let's see if we have timezone indicator or not...
|
277
|
-
if (hasTimeZone(dateStr)) {
|
278
|
-
c = dateStr.charAt(len-3);
|
279
|
-
if (c == ':') { // remove optional colon
|
280
|
-
// remove colon
|
281
|
-
StringBuilder sb = new StringBuilder(dateStr);
|
282
|
-
sb.delete(len-3, len-2);
|
283
|
-
dateStr = sb.toString();
|
284
|
-
} else if (c == '+' || c == '-') { // missing minutes
|
285
|
-
// let's just append '00'
|
286
|
-
dateStr += "00";
|
287
|
-
}
|
288
|
-
// [JACKSON-334]: may be missing milliseconds... if so, add
|
289
|
-
len = dateStr.length();
|
290
|
-
// '+0000' (5 chars); should come after '.000' (4 chars) of milliseconds, so:
|
291
|
-
c = dateStr.charAt(len-9);
|
292
|
-
if (Character.isDigit(c)) {
|
293
|
-
StringBuilder sb = new StringBuilder(dateStr);
|
294
|
-
sb.insert(len-5, ".000");
|
295
|
-
dateStr = sb.toString();
|
296
|
-
}
|
297
|
-
|
298
|
-
df = _formatISO8601;
|
299
|
-
if (_formatISO8601 == null) {
|
300
|
-
df = _formatISO8601 = (DateFormat) DATE_FORMAT_ISO8601.clone();
|
301
|
-
}
|
302
|
-
} else {
|
303
|
-
/* 24-Nov-2009, tatu: Ugh. This is getting pretty
|
304
|
-
* ugly. Need to rewrite soon!
|
305
|
-
*/
|
306
|
-
|
307
|
-
// If not, plain date. Easiest to just patch 'Z' in the end?
|
308
|
-
StringBuilder sb = new StringBuilder(dateStr);
|
309
|
-
// And possible also millisecond part if missing
|
310
|
-
int timeLen = len - dateStr.lastIndexOf('T') - 1;
|
311
|
-
if (timeLen <= 8) {
|
312
|
-
sb.append(".000");
|
313
|
-
}
|
314
|
-
sb.append('Z');
|
315
|
-
dateStr = sb.toString();
|
316
|
-
df = _formatISO8601_z;
|
317
|
-
if (df == null) {
|
318
|
-
df = _formatISO8601_z = (DateFormat) DATE_FORMAT_ISO8601_Z.clone();
|
319
|
-
}
|
320
|
-
}
|
321
|
-
}
|
322
|
-
return df.parse(dateStr, pos);
|
323
|
-
}
|
324
|
-
|
325
|
-
protected Date parseAsRFC1123(String dateStr, ParsePosition pos)
|
326
|
-
{
|
327
|
-
if (_formatRFC1123 == null) {
|
328
|
-
_formatRFC1123 = (DateFormat) DATE_FORMAT_RFC1123.clone();
|
329
|
-
}
|
330
|
-
return _formatRFC1123.parse(dateStr, pos);
|
331
|
-
}
|
332
|
-
|
333
|
-
private final static boolean hasTimeZone(String str)
|
334
|
-
{
|
335
|
-
// Only accept "+hh", "+hhmm" and "+hh:mm" (and with minus), so
|
336
|
-
int len = str.length();
|
337
|
-
if (len >= 6) {
|
338
|
-
char c = str.charAt(len-6);
|
339
|
-
if (c == '+' || c == '-') return true;
|
340
|
-
c = str.charAt(len-5);
|
341
|
-
if (c == '+' || c == '-') return true;
|
342
|
-
c = str.charAt(len-3);
|
343
|
-
if (c == '+' || c == '-') return true;
|
344
|
-
}
|
345
|
-
return false;
|
346
|
-
}
|
347
|
-
}
|
348
|
-
|