逃跑的灭火器 · iframe全屏兼容(按钮在iframe里) ...· 1 月前 · |
大力的牛肉面 · 苍南县人才住房补贴政策操作指南(试行)· 4 月前 · |
考研的绿豆 · “区块链+民生”,服务更深入 - 民政部信息中心· 1 年前 · |
个性的汉堡包 · 为什么唐僧出生时间和取经时间都是贞观十三年, ...· 1 年前 · |
独立的帽子 · 【访谈翻译】Cinemagazine ...· 1 年前 · |
深沉的勺子
7 月前 |
XSSAPI
instead.
XSSFilter
instead.
DamUtil
instead.
MediaSet
JackrabbitSession#getUserManager()
instead.
StatisticsService
...
ActionConfig
instead
ActionManager
instead
Blueprint
instead
LiveAction
instead
LiveCopy
instead
RolloutManager
instead
LiveRelationshipManager
instead
LiveStatus
instead
RolloutManager
instead
NameConstants
Constants for jcr names used in cq. conventions:
Preconditions
for basic checks. In place of
constrained collections, we encourage you to check your preconditions
explicitly instead of leaving that work to the collection implementation.
For the specific case of rejecting null, consider the immutable
collections.
This interface is scheduled for removal in Guava 16.0.
MultiValuedMap
instead
FailableBiConsumer
.
FailableBiFunction
.
FailableBiPredicate
.
FailableCallable
.
FailableConsumer
.
FailableFunction
.
FailablePredicate
.
FailableRunnable
.
FailableSupplier
.
IterativeAlgorithm
. The concept of "accuracy" is
currently is also contained in
SimpleRealPointChecker
and similar classes.
FieldMatrix
with a
BigReal
parameter
AuthSchemeProvider
RequestConfig
and constructor parameters of
AuthSchemeProvider
s.
AuthenticationStrategy
HttpExecutionAware
RequestConfig
.
HttpClientContext
.
RedirectStrategy
IDN
.
HttpClientConnectionManager
.
HttpClientConnectionManager
.
HttpClientConnectionManager
.
ConnectionRequest
.
HttpClientConnectionManager
.
HttpClientConnectionManager
.
HttpClientConnectionManager
.
DefaultHttpResponseParser
implementation.
RequestConfig
.
SchemeLayeredSocketFactory
SchemeSocketFactory
LayeredConnectionSocketFactory
ConnectionSocketFactory
SchemeSocketFactory
PrivateKeyStrategy
.
HostnameVerifier
.
CookieSpecProvider
CookieSpecProvider
s.
KerberosScheme
and override
GGSSchemeBase.generateGSSToken(byte[], org.ietf.jgss.Oid, String, org.apache.http.auth.Credentials)
Future
SSLSetupHandler
SSLSetupHandler
BasicAsyncRequestProducer
or
BasicAsyncResponseProducer
BasicAsyncRequestProducer
or
BasicAsyncResponseProducer
NHttpClientEventHandler
NHttpServerEventHandler
IOReactorConfig
HttpAsyncRequestExecutor
and
HttpAsyncRequester
HttpAsyncRequestExecutor
and
HttpAsyncRequester
HttpAsyncRequestHandler
HttpAsyncRequestHandlerResolver
HttpAsyncExchange
BufferInfo
HttpCoreContext
.
NodeTypeManager
instead.
XAResource
interface
SizedIterator
LockConstants
instead
NamespaceConstants
instead.
NodeTypeConstants
instead
VersionConstants
instead
ThreeWayConflictHandler
instead.
ThreeWayConflictHandler
instead.
SecurityConfiguration.getMonitors(StatisticsProvider)
ResourceProvider
ResourceProvider
ResourceProvider
ResourceProvider
ModifiableValueMap
instead.
ResourceProvider
ResourceProvider
ResourceProvider
ContextPathStrategyMultiplexer
instead.
ConfigurationPersistenceStrategy2
instead.
AuthenticationHandler
instead
AuthenticationSupport
instead
SlingSettingsService
RequestLocaleResolver
should be used instead.
InjectAnnotationProcessor2
instead
StaticInjectAnnotationProcessorFactory
preferably or in case of a dependency to the adaptable
InjectAnnotationProcessorFactory2
MergedResourcePicker2
instead.
PostOperation
.
TenantManagerHook
instead.
Decorator
Context
instances should implement
ContextFactory.Listener
.
EventListenerHook
.
org.osgi.framework.wiring
package.
org.osgi.framework.wiring
package.
org.osgi.framework.wiring
package.
org.osgi.framework.startlevel
package.
HtmlStatusResponseFactory
instead
DamMimeUtils
instead
RenditionMaker
service instead
HCImporter
instead.
AuthorizableQueryManager
instead.
AllowedComponents
instead
DiffInfo
instead.
ImageHelper
instead.
DeviceMapper.getCapabilities()
DeviceMapper.getCapabilities()
DeviceMapper.getCapabilities()
DeviceMapper.getCapabilities()
JsonTypeInfo
,
if such behavior is needed; this is rarely necessary.
PropertyNamingStrategies.KebabCaseStrategy
instead
databind#2715
for reason for deprecation)
PropertyNamingStrategies.LowerCaseStrategy
instead
databind#2715
for reason for deprecation)
PropertyNamingStrategies.SnakeCaseStrategy
instead
PropertyNamingStrategies.LowerDotCaseStrategy
instead
databind#2715
for reason for deprecation)
PropertyNamingStrategies.UpperCamelCaseStrategy
instead
PropertyNamingStrategies.SnakeCaseStrategy
instead
databind#2715
for reason for deprecation)
PropertyNamingStrategies.UpperCamelCaseStrategy
instead
databind#2715
for reason for deprecation)
StdKeySerializers.Default
instead.
StdDateFormat
instead
YearMonthKeyDeserializer
instead.
JavaTimeModule
since Jackson 2.7, see above for
details on differences in the default configuration.
JSR310Module
Preconditions
for basic checks. In place of
constrained collections, we encourage you to check your preconditions
explicitly instead of leaving that work to the collection implementation.
For the specific case of rejecting null, consider the immutable
collections.
This class is scheduled for removal in Guava 16.0.
MapMaker
. That functionality has been moved to
CacheBuilder
, which is a properly generified class and thus needs no
"Generic" equivalent; simple use
CacheBuilder
naturally. For general migration
instructions, see the
MapMaker Migration
Guide
. This class is scheduled for removal in Guava 16.0.
HashCode
instead. This class is scheduled
to be removed in Guava 16.0.
ForwardingService
, consider using the
Service.Listener
functionality to hook into the
Service
lifecycle, or if you really do need to provide access to some Service
methods, consider just providing the few that you actually need (e.g. just
ForwardingService.startAndWait()
) and not implementing Service.
DBCollection
that return instances of
Cursor
.
GridFSDownloadOptions
instead.
ServerAddress
instead.
MongoClient
. Any non-deprecated methods will be moved to MongoClient. The rest will be removed along
with this class.
MongoClientOptions
instead.
MongoClientURI
CommandWriteOperation
directly or the mongod shell helpers.
CommandWriteOperation
directly or the mongod shell helpers.
CommandWriteOperation
directly or the mongod shell helpers.
CommandWriteOperation
directly or the mongod shell helpers.
PojoCodecProvider
ReadPreferenceServerSelector
or
WritableServerSelector
, depending on your requirements
WriteConcern.MAJORITY
,
WriteConcern.withWTimeout(long, TimeUnit)
,
WriteConcern.withJournal(Boolean)
Caverphone2
, will be removed in 2.0.
ArrayDeque
instead (available from Java 1.6)
MultiValuedMap
instead
DiskFileItem
instead.
DiskFileItemFactory
instead.
ServletFileUpload
together with
DiskFileItemFactory
instead.
MultipartRequestEntity
in conjunction with
PostMethod
instead.
DateUtil
PathUtils.walk(java.nio.file.Path, org.apache.commons.io.file.PathFilter, int, boolean, java.nio.file.FileVisitOption...)
or
Files.walkFileTree(java.nio.file.Path, java.util.Set, int, java.nio.file.FileVisitor)
, and
friends.
FileStore
instead, e.g.
Files.getFileStore(Paths.get("/home")).getUsableSpace()
or iterate over
FileSystems.getDefault().getFileStores()
StandardCharsets
, which defines these constants as
Charset
objects. Use
Charset.name()
to get the string values provided in this class.
This class will be removed in a future release.
Failable
.
Streams
.
Streams.ArrayCollector
.
Streams.FailableStream
.
ByteArrayDataSource
instead
BicubicSplineInterpolator
instead. If smoothing is desired, a tentative implementation is provided in class
SmoothingPolynomialBicubicSplineInterpolator
.
This class will be removed in math 3.0.
Array2DRowFieldMatrix
with a
BigReal
parameter
Array2DRowRealMatrix
TextStringBuilder
instead. This class will be removed in 2.0.
StringLookupFactory
instead. This class will be removed in 2.0.
StringMatcherFactory
instead. This class will be removed in 2.0.
StringSubstitutor
instead. This class will be removed in 2.0.
StringTokenizer
instead. This class will be removed in 2.0.
Registry
RequestConfig
and constructor parameters of
AuthSchemeProvider
s.
RequestConfig
and constructor parameters of
AuthSchemeProvider
s.
AuthSchemes
.
RequestConfig
.
CookieSpecs
.
HttpParams
. Do not use.
RequestConfig
HttpClientContext
HttpAuthenticator
.
HttpAuthenticator
.
AuthenticationStrategy
IDN
.
IDN
.
IDN
.
SchemeSocketFactory
interface.
DefaultHttpResponseParser
implementation.
ConnPoolControl
RequestConfig
.
RequestConfig
.
PlainConnectionSocketFactory
SchemePortResolver
for default port
resolution and
Registry
for socket factory lookups.
Registry
HostnameVerifier
or
DefaultHostnameVerifier
.
NoopHostnameVerifier
DefaultHostnameVerifier
PrivateKeyDetails
.
SSLContextBuilder
.
SSLContexts
.
SSLConnectionSocketFactory
.
DefaultHostnameVerifier
Registry
.
CookieSpecProvider
s.
MultipartEntityBuilder
.
MultipartEntityBuilder
.
DefaultBHttpClientConnection
DefaultBHttpServerConnection
SPNegoScheme
or
KerberosScheme
.
SPNegoSchemeFactory
or
KerberosSchemeFactory
.
AuthenticationStrategy
HttpClientBuilder
.
HttpClientBuilder
.
CachingHttpClientBuilder
or
CachingHttpClients
.
HttpClientBuilder
HttpClientBuilder
HttpClientBuilder
see also
CloseableHttpClient
.
ProxyAuthenticationStrategy
DefaultRedirectStrategy
.
TargetAuthenticationStrategy
HttpClientBuilder
BasicHttpClientConnectionManager
.
ManagedHttpClientConnectionFactory
.
PoolingHttpClientConnectionManager
.
DefaultRoutePlanner
DefaultHttpResponseParser
PoolingHttpClientConnectionManager
.
SystemDefaultRoutePlanner
HttpClientBuilder
.
BasicClientConnectionManager
AbstractConnPool
PoolEntry
AbstractConnPool
AbstractConnPool
PoolingHttpClientConnectionManager
DefaultCookieSpec
.
DefaultCookieSpecProvider
.
DefaultCookieSpec
.
DefaultCookieSpecProvider
.
DateUtils
.
IgnoreSpecProvider
.
NetscapeDraftSpecProvider
.
PublicSuffixDomainFilter
PublicSuffixListParser
.
RFC2109SpecProvider
.
RFC2965SpecProvider
.
DefaultBHttpClientConnection
DefaultBHttpServerConnection
BHttpConnectionBase
BHttpConnectionBase
SessionInputBufferImpl
SessionOutputBufferImpl
DefaultHttpRequestParser
DefaultHttpRequestWriter
DefaultHttpResponseParser
DefaultHttpResponseWriter
SessionInputBufferImpl
SessionOutputBufferImpl
DefaultHttpRequestParser
DefaultHttpRequestWriter
DefaultHttpResponseParser
DefaultHttpResponseWriter
DefaultHttpClientIODispatch
DefaultHttpServerIODispatch
IOSessionImpl
SSLIOSession
DefaultHttpClientIODispatch
DefaultHttpServerIODispatch
SSLClientIOEventDispatch
SSLServerIOEventDispatch
DefaultBHttpClientConnection
BasicAsyncRequestProducer
or
BasicAsyncResponseProducer
BasicAsyncRequestProducer
or
BasicAsyncResponseProducer
EntityAsyncContentProducer
IOReactorConfig
IOReactorConfig
HttpAsyncRequestExecutor
and
HttpAsyncRequester
HttpAsyncService
BasicAsyncClientExchangeHandler
.
HttpAsyncRequestExecutor
and
HttpAsyncRequester
HttpAsyncService
UriHttpAsyncRequestHandlerMapper
UriHttpAsyncRequestHandlerMapper
BasicAsyncRequestHandler
HttpAsyncRequestExecutor
and
HttpAsyncRequester
HttpAsyncService
HttpParams
. Do not use.
UriHttpRequestHandlerMapper
FilterIterator
JcrUtils.in(NodeIterator)
instead
JcrUtils.in(PropertyIterator)
instead
JcrUtils.in(RowIterator)
instead
BurnOnCloseFileIterator
instead
FileLineDifferenceIterator
instead
DefaultThreeWayConflictHandler
instead.
LuceneIndexDefinitionBuilder
RootProvider
instead
TreeProvider
instead
LoginModuleMonitor
and
LoginModuleMBean
has been added to oak-core.
Parser
instead.
Analyzer.GLOBAL_REUSE_STRATEGY
instead!
Analyzer.PER_FIELD_REUSE_STRATEGY
instead!
StandardTokenizer
instead.
CJKBigramFilterFactory
instead.
StandardAnalyzer
instead, which has the same functionality.
This analyzer will be removed in Lucene 5.0
StopFilter
instead, which has the same functionality.
This filter will be removed in Lucene 5.0
StopFilterFactory
instead.
StandardTokenizer
instead, which has the same functionality.
This filter will be removed in Lucene 5.0
StandardTokenizerFactory
instead.
SnowballFilter
with
FrenchStemmer
instead, which has the
same functionality. This filter will be removed in Lucene 5.0
FrenchStemmer
instead,
which has the same functionality. This filter will be removed in Lucene 4.0
StandardTokenizer
instead.
SnowballFilter
with
DutchStemmer
instead, which has the
same functionality. This filter will be removed in Lucene 5.0
DutchStemmer
instead,
which has the same functionality. This filter will be removed in Lucene 5.0
TokenStream
graphs inconsistent
which can cause highlighting bugs. Its main use-case being to make
QueryParser
generate boolean queries instead of phrase queries, it is now advised to use
QueryParser.setAutoGeneratePhraseQueries(boolean)
(for simple cases) or to override
QueryParser.newFieldQuery
.
StandardTokenizer
instead, which has the same functionality.
This filter will be removed in Lucene 5.0
StandardTokenizerFactory
instead.
This tokenizer has no Russian-specific functionality.
CollationAttributeFactory
instead, which encodes
terms directly as bytes. This filter will be removed in Lucene 5.0
CollationKeyAnalyzer
instead.
NumericDocValuesField
instead.
BinaryDocValuesField
instead.
NumericDocValuesField
instead.
NumericDocValuesField
instead.
NumericDocValuesField
instead.
NumericDocValuesField
instead.
SortedDocValuesField
instead.
BinaryDocValuesField
instead.
BooleanQuery2ModifierNodeProcessor
instead
TermToBytesRefAttribute
and store bytes directly
instead. This class will be removed in Lucene 5.0
SlideShowExtractor
instead
CellReference
instead.
Actually the replacement CellReference was added earlier, but the deprecation notice
was added only in 4.0.0-SNAPSHOT.
Optional
instead
SlideShowExtractor
XDDFChartData.Series
instead
XDDFCategoryAxis
instead
XDDFChartAxis
instead
XDDFChartLegend
instead
XDDFDateAxis
instead
XDDFLineChartData
instead
instead
XDDFScatterChartData
instead
XDDFValueAxis
instead
SlingAdaptable
instead
ValueMapUtil.merge(ValueMap...)
instead. Note that it
does not support the parameter
merge = false
. However, this could easily
be achieved with another decorator that restricts the set of allowed keys.
AuthenticationHandler
implementations
should extend
DefaultAuthenticationFeedbackHandler
directly and use the utility methods in the
AuthUtil
class.
org.osgi.util.converter.Converters
and
ServiceUtil
instead
org.osgi.util.converter.Converters
instead
RequestUtil
ResponseUtil
AbstractInjectAnnotationProcessor2
instead
RuntimeCall
starting with version 1.2.0 of the
org.apache.sling.scripting.sightly.compiler.expression.nodes
API.
ObjectModel
.
JavaEscapeHelper
for a replacement.
AbstractPostOperation
.
LanguageDetector
LanguageHandler
LanguageWriter
OpenDocumentParser
class instead.
This class will be removed in Apache Tika 1.0.
AttributeMetadataHandler
and
ElementMetadataHandler
classes instead
CyclicTimeouts
instead.
PathMappings
(this class will be removed in Jetty 10)
NetworkTrafficListener
instead
NetworkTrafficSocketChannelEndPoint
instead
SocketChannelEndPoint
instead
ConfigurableSpnegoLoginService
instead
CustomRequestLog
given format string
CustomRequestLog.EXTENDED_NCSA_FORMAT
with a
RequestLog.Writer
CustomRequestLog
given format string
CustomRequestLog.EXTENDED_NCSA_FORMAT
with an
AsyncRequestLogWriter
ConnectionStatistics
instead.
SymlinkAllowedResourceAliasChecker
instead.
DebugListener
InetAccessHandler
.
CustomRequestLog
given format string
CustomRequestLog.EXTENDED_NCSA_FORMAT
with a
RequestLogWriter
NetworkTrafficServerConnector
instead.
DetectorConnectionFactory
with a
SslConnectionFactory
instead.
AllowedResourceAliasChecker
instead.
CustomRequestLog
given format string
CustomRequestLog.EXTENDED_NCSA_FORMAT
with an
Slf4jRequestLogWriter
Base64
instead
LifeCycle.Listener
has default methods.
ConcurrentHashMap.newKeySet()
instead.
PathResource
HttpClient
with WebSocketClient directly
ByteBufferAccumulator
instead.
PathSpec
(this facade will be removed in Jetty 9.4)
RegexPathSpec
(this facade will be removed in Jetty 9.4)
ServletPathSpec
(this facade will be removed in Jetty 9.4)
ServletUpgradeRequest
instead
ServletUpgradeResponse
instead
LocalDate
to represent a date without a time zone.
Or use
DateTime
to represent a full date and time, perhaps
using
DateTime.withTimeAtStartOfDay()
to get an instant at the
start of a day.
IOException
instead
org.apache.commons.math.exception
.
Authenticator
UnitSpan.POINTS_1K
.
DamConstants.NT_DAM_ASSET
instead
DamConstants.DC_TITLE
instead
Designer.getDefaultDesign()
instead.
order
instead
DeviceMapper.getCapabilities()
DeviceMapper.getCapabilities()
DeviceMapper.getCapabilities()
DeviceMapper.getCapabilities()
CodeISO
instead.
CodeISO
instead.
CodeISO
or
java.net.URLEncoder#encode(String)
instead.
ExifDirectoryBase.TAG_WHITE_BALANCE
instead.
ExifDirectoryBase.TAG_COMPRESSION
instead.
ContentReference.DEFAULT_MAX_CONTENT_SNIPPET
instead
PropertyNamingStrategies.SNAKE_CASE
instead.
PropertyNamingStrategies.KEBAB_CASE
instead.
databind#2715
for reasons for deprecation.
PropertyNamingStrategies.LOWER_CAMEL_CASE
instead.
databind#2715
for reasons for deprecation.
PropertyNamingStrategies.LOWER_CASE
instead.
databind#2715
for reasons for deprecation.
PropertyNamingStrategies.LOWER_DOT_CASE
instead.
databind#2715
for reasons for deprecation.
PropertyNamingStrategies.UPPER_CAMEL_CASE
instead;
PropertyNamingStrategies.SNAKE_CASE
instead.
databind#2715
for reasons for deprecation.
PropertyNamingStrategies.UPPER_CAMEL_CASE
instead.
databind#2715
for reasons for deprecation.
Mongo.getMaxBsonObjectSize()
- 500*1000.
Please ensure that you left enough space for metadata (500kb is enough).
MongoCredential.SCRAM_SHA_1_MECHANISM
in MongoDB 3.0, and is now deprecated
WriteConcern.JOURNALED
WriteConcern.JOURNALED
WriteConcern.JOURNALED
WriteConcern.UNACKNOWLEDGED
WriteConcern.W2
WriteConcern.ACKNOWLEDGED
Factory.getAlphanumeric(String)
StandardCharsets.ISO_8859_1
instead.
StandardCharsets.US_ASCII
instead.
StandardCharsets.UTF_16
instead.
StandardCharsets.UTF_16BE
instead.
StandardCharsets.UTF_16LE
instead.
StandardCharsets.UTF_8
instead.
GeneralPurposeBit.UFT8_NAMES_FLAG
instead
StandardCharsets
in Java 7
StandardCharsets
in Java 7
StandardCharsets
in Java 7
StandardCharsets
in Java 7
StandardCharsets
in Java 7
StandardCharsets
in Java 7
MultipartStream.HEADER_PART_SIZE_MAX
.
HttpsURL.DEFAULT_PORT
instead. This one doesn't conform
to the project naming conventions.
HttpsURL.DEFAULT_SCHEME
instead. This one doesn't
conform to the project naming conventions.
HttpURL.DEFAULT_PORT
instead. This one doesn't conform
to the project naming conventions.
HttpURL.DEFAULT_SCHEME
instead. This one doesn't
conform to the project naming conventions.
StandardCharsets
StandardCharsets
StandardCharsets
StandardCharsets
StandardCharsets
StandardCharsets
FileFileFilter.INSTANCE
.
System.lineSeparator()
.
StringEscapeUtils.ESCAPE_XML10
or
StringEscapeUtils.ESCAPE_XML11
instead.
File.separator
, since it is guaranteed to be a
string containing a single character and it does not require a privilege check.
SystemUtils.IS_JAVA_9
System.lineSeparator()
instead, since it does not require a privilege check.
File.pathSeparator
, since it is guaranteed to be a
string containing a single character and it does not require a privilege check.
EmailConstants.ATTACHMENTS
instead
EmailConstants.CONTENT_TYPE
instead
EmailConstants.EMAIL_BODY
instead
EmailConstants.EMAIL_SUBJECT
instead
EmailConstants.FILE_SERVER
instead
EmailConstants.ISO_8859_1
instead
EmailConstants.KOI8_R
instead
EmailConstants.MAIL_DEBUG
instead
EmailConstants.MAIL_HOST
instead
EmailConstants.MAIL_PORT
instead
EmailConstants.MAIL_SMTP_AUTH
instead
EmailConstants.MAIL_SMTP_CONNECTIONTIMEOUT
instead
EmailConstants.MAIL_SMTP_FROM
instead
EmailConstants.MAIL_SMTP_PASSWORD
instead
EmailConstants.MAIL_SMTP_SOCKET_FACTORY_CLASS
instead
EmailConstants.MAIL_SMTP_SOCKET_FACTORY_FALLBACK
instead
EmailConstants.MAIL_SMTP_SOCKET_FACTORY_PORT
instead
EmailConstants.MAIL_SMTP_TIMEOUT
instead
EmailConstants.MAIL_SMTP_USER
instead
EmailConstants.MAIL_TRANSPORT_PROTOCOL
instead
EmailConstants.MAIL_TRANSPORT_TLS
instead
EmailConstants.RECEIVER_EMAIL
instead
EmailConstants.RECEIVER_NAME
instead
EmailConstants.SENDER_EMAIL
instead
EmailConstants.SENDER_NAME
instead
EmailConstants.SMTP
instead
EmailConstants.TEXT_HTML
instead
EmailConstants.TEXT_PLAIN
instead
EmailConstants.US_ASCII
instead
DefaultHttpResponseParser
implementation
HttpClientContext.REDIRECT_LOCATIONS
.
BasicHeaderValueFormatter.INSTANCE
BasicHeaderValueParser.INSTANCE
BasicLineFormatter.INSTANCE
BasicLineParser.INSTANCE
Function.identity()
instead
Oak.OakDefaultComponents
instead.
WorkspaceResource.CURRENT_ACTIVITY_SET
instead.
LogLog.DEBUG_KEY
instead.
Level.DEBUG
instead.
Level.ERROR
instead.
Level.FATAL
instead.
Level.INFO
instead.
Level.WARN
instead.
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
ClassIDPredefined
org.apache.sling.spi.resource.provider.ResourceProvider
org.apache.sling.adapter.Adaption
.
org.apache.sling.adapter.Adaption
.
org.apache.sling.adapter.Adaption
.
org.apache.sling.adapter.Adaption
.
ResourceChangeListener
instead
ResourceChangeListener
instead
ResourceChangeListener
instead
"service.ranking"
(org.osgi.framework.Constants.SERVICE_RANKING) instead
EngineConstants.SLING_FILTER_SCOPE
instead
SlingConstants.SLING_CURRENT_SERVLET_NAME
org.apache.sling.engine.EngineConstants.SLING_HOME
SlingSettingsService.SLING_HOME
org.apache.sling.engine.EngineConstants.SLING_HOME_URL
SlingSettingsService.SLING_HOME_URL
org.apache.sling.engine.EngineConstants.SLING_SERLVET_NAME
org.apache.tika.metadata.IPTC.CATEGORY
org.apache.tika.metadata.IPTC.COPYRIGHT_OWNER_ID_WRONG_CASE
org.apache.tika.metadata.IPTC.DIGITAL_SOURCE_FILE_TYPE
org.apache.tika.metadata.IPTC.IMAGE_CREATOR_ID_WRONG_CASE
org.apache.tika.metadata.IPTC.IMAGE_SUPPLIER_ID_WRONG_CASE
org.apache.tika.metadata.IPTC.LICENSOR_ID_WRONG_CASE
IPTC.LICENSOR_ID
PasswordProvider
on the
ParseContext
instead
System.lineSeparator()
instead
osgi.ee
capability.
osgi.ee
capability.
Constants.VERSION_ATTRIBUTE
.
exportonly
instead.
EventConstants.EXCEPTION_CLASS
.
LogLevel.DEBUG
.
LogLevel.ERROR
.
LogLevel.INFO
.
LogLevel.WARN
.
Context.getScheduledExecutorService()
instead
Interpreter.getInterpretationContext()
PageTreeSitemapGenerator.shouldInclude(Resource)
instead
PageTreeSitemapGenerator.shouldInclude(Resource)
instead
PageTreeSitemapGenerator.shouldInclude(Resource)
instead
PageTreeSitemapGenerator.shouldInclude(Resource)
instead
WCMUsePojo.getInheritedPageProperties()
Button.getButtonLink()
Image.getImageLink()
List.getListItems()
instead
ListItem.getLink()
NavigationItem
relies on
ListItem
Teaser.getLink()
Title.getLink()
LaunchUtils.getLaunchResource(Resource)
instead.
LaunchUtils.getTargetResource(org.apache.sling.api.resource.Resource, com.adobe.cq.launches.api.Launch)
instead
PSNameFontDatabase.findFont(String)
instead.
ActivityManager.getStream(org.apache.sling.api.resource.Resource, String, boolean)
instead.
ActivityManager.getUserStream(org.apache.sling.api.resource.ResourceResolver, String, String, boolean)
instead.
ActivityStream.isDefaultStream()
instead.
Asset.addRelation(String, String)
initialize
instead.
UserProperties.getAggregatedUserProperties()
to obtain the paths.
AuthorizableUtil.getFormattedName(ResourceResolver, Authorizable)
TranslationConfig.getLanguages(ResourceResolver)
instead.
Returns a Map of the currently allowed language codes. The default location for the language codes is:
"/libs/wcm/core/resources/languages"
TranslationObject.getTranslationObjectXMLInputStream()
instead. Gets XML input stream for the
Translation Object to be translated.
TranslationServiceFactory.createTranslationService(TranslationMethod, String, Resource)
instead.
Creates a new TranslationService object specific to this Factory.
TranslationCloudConfigUtil.getCloudConfigObjectFromPath(Resource, Class, String)
instead
IRequest.service()
instead
IResult.service()
instead
getOneOfChild(true, bReturnDefault)
instead.
SitecatalystWebservice.queueReport(Configuration, JSONObject)
instead.
SitecatalystWebservice.getLoginKey(String, String, String)
instead
com.day.cq.analytics.sitecatalyst.util.AuthenticationHelper.getBase64Digest(byte[], byte[], byte[])
com.day.cq.analytics.sitecatalyst.util.AuthenticationHelper.getBase64DigestKey(byte[], byte[])
com.day.cq.analytics.testandtarget.TargetMediator.deleteOffer(Configuration, long)
com.day.cq.analytics.testandtarget.TestandtargetService.createWidgetOffer(Configuration, String, String, String)
com.day.cq.analytics.testandtarget.TestandtargetService.getCampaignById(Configuration, long, CampaignType)
com.day.cq.analytics.testandtarget.TestandtargetService.getMboxActivityCollisions(Configuration, String, String)
com.day.cq.analytics.testandtarget.TestandtargetService.getReusableOffer(Configuration, ViewOfferRequest)
com.day.cq.analytics.testandtarget.TestandtargetService.listCampaigns(Configuration, Date, Date, String, String, String, String)
com.day.cq.analytics.testandtarget.TestandtargetService.listOffers(Configuration, String)
com.day.cq.analytics.testandtarget.TestandtargetService.publishOffer(Configuration, String, String, String)
com.day.cq.audit.AuditLog.getLatestEvent(String, String)
AuditLog.getLatestEvent(org.apache.sling.api.resource.ResourceResolver, String, String)
instead
AuditLog.getLatestEvents(org.apache.sling.api.resource.ResourceResolver, String, String, int)
instead
AuditLog.getLatestEventsFromTree(org.apache.sling.api.resource.ResourceResolver, String[], String, int)
instead
externalLink(resolver, Externalizer.LOCAL, scheme, path)
instead
Asset.getOriginal()
instead.
com.day.cq.dam.commons.util.DamUtil#createAssetForBinary(String, ResourceResolver, Boolean)
instead.
DamUtil.assetToBinaryPath(String)
instead.
DamUtil.binaryToAssetPath(String)
instead.
File.createTempFile(String, String)
instead.
com.day.cq.dam.commons.util.DamUtil#getAssetNodeForBinary(String, Session)
instead.
com.day.cq.dam.commons.util.DamUtil#removeAssetForBinary(String, Session)
instead.
MimeTypeService.getExtension(String)
instead
MimeTypeService.getMimeType(String)
instead
AssetDownloadService.assetDownload(Resource, Set, boolean, boolean, boolean, String, Date, String, String, OutputStream)
that operates with `OutputStream` instead.
LanguageUtil
instead
LanguageUtil
instead
DamLanguageUtil.moveUpdatedAsset(String, String, Session, PageManagerFactory, ResourceResolver)
instead
getValidFolderPath
instead
This method determines whether the folder name contains special characters and replaces them with underscore ("_")
com.day.cq.dam.api.processingstate.provider.AssetProcessingStateProvider.isProcessing()
RenditionMaker
service instead
S7ConfigResolver.getS7ConfigForResource(ResourceResolver, Resource)
instead.
S7ConfigResolver
service instead!
Scene7Service.saveImageFormat(S7Config, String, String, String, Resource)
com.day.cq.dam.scene7.api.Scene7Service.updateImageSet(S7Config, String, List<String>, String)
Scene7Service.updateImageSet(S7Config, String, ImageSetMemberUpdateArray, String)
com.day.cq.dam.scene7.api.Scene7Service.updateSmartCrops(S7Config, Map<String, Map<String, Scene7NormalizedCropRect>>)
com.day.cq.dam.scene7.api.Scene7UploadService.moveFile(String, ResourceResolver, ResourceResolver)
Scene7Service.moveAsset(S7Config,Resource,String)
instead
com.day.cq.dam.scene7.api.Scene7UploadService.moveFolder(String, String, ResourceResolver, ResourceResolver)
Scene7Service.moveFolder(S7Config,String,String)
instead
com.day.cq.dam.video.VideoProfile.get(ResourceResolver, String)
VideoProfile.get(ResourceResolver, ConfigurationResourceResolver, String)
instead
Resolves a video profile by name (relative to the video profile base
path) or absolute path.
MailingService.getStatus(String, javax.jcr.Session)
instead.
MessageGateway.send(Object)
instead}
ContextSessionPersistence.get(org.apache.sling.api.SlingHttpServletRequest, String)
instead.
ContextSessionPersistence.getCookieName()
instead.
ContextSessionPersistence.getMap(org.apache.sling.api.SlingHttpServletRequest)
instead.
ContextSessionPersistence.getStore(org.apache.sling.api.SlingHttpServletRequest, String)
instead.
ContextSessionPersistence.put(org.apache.sling.api.SlingHttpServletRequest, org.apache.sling.api.SlingHttpServletResponse, String, String)
instead.
ContextSessionPersistence.putStore(org.apache.sling.api.SlingHttpServletRequest, org.apache.sling.api.SlingHttpServletResponse, String, java.util.Map)
instead.
OutboxManager.getDefaultOutbox(javax.jcr.Session)
} instead.
OutboxManager.getDefaultOutbox(javax.jcr.Session)
.
Outbox.fetch(java.util.Calendar, java.io.OutputStream)
instead.
OutboxManager.getDefaultOutbox(javax.jcr.Session)
.
Outbox.put(ReplicationAction, java.io.InputStream)
instead.
ReplicationOptions.setFilter(AgentFilter)
instead.
ReplicationQueue.getStatus()
instead
ReplicationQueue.getStatus()
instead
ReplicationQueue.getStatus()
instead
LinkChecker.getLink(java.lang.String, com.day.cq.rewriter.linkchecker.LinkCheckerSettings)
instead.
PredicateEvaluator.canFilter(Predicate, EvaluationContext)
and
PredicateEvaluator.canXpath(Predicate, EvaluationContext)
instead.
Suggester.getSuggestions(Session, String, String, boolean)
Suggester.spellCheck(Session, String)
get(session, name).delete()
SuggestionIndexManager.get(Session, String)
SuggestionIndexManager.list(Session)
JcrTagManagerFactory.getTagManager(ResourceResolver)
TagManager.getResourceResolver()
. This is consistent with recommended
api
JcrTagManagerFactory.getTagManager(ResourceResolver)
Convenience method that returns the underlying session. Can be used to
easily save the session when eg. creating tags with
autoSave = false
.
Cell.paths()
instead.
Cell.searchPaths()
instead.
LanguageManager.Tree.getCqLanguages()
instead
LanguageManager.TreeNode.getInfo(Language)
instead
LiveRelationshipManager.reenableRelationship(ResourceResolver resolver, LiveRelationship relation,
boolean autoSave)
instead.
BlueprintManager.getBlueprints()
TemplateManager.getTemplate(String)
instead.
TemplateManager.getAllTemplates()
or
TemplateManager.getTemplates(org.apache.commons.collections.Predicate)
instead
ReferenceSearch.adjustReferences(ResourceResolver, String, String, String[])
. Instead, specify a resource resolver
which is sufficiently authorized to adjust references at the desired locations.
ParseResult.getBodyHtmlContent()
instead
ParseResult.getComponents()
instead
ParseResult.getHeadHtmlContent()
instead
ParseResult.getLanguage()
instead
FormStructureHelper.updateFormStructure(Resource)
instead.
FormStructureHelper.getFormElements(Resource)
instead.
FormChooserServlet
, use
FormsHelper.isReadOnly(SlingHttpServletRequest, Resource)
instead.
FieldHelper.checkConstraint(SlingHttpServletRequest, SlingHttpServletResponse, FieldDescription)
FieldDescription
instead.
List.getPages()
instead
LiveAction.execute(org.apache.sling.api.resource.Resource, org.apache.sling.api.resource.Resource, LiveRelationship, boolean, boolean)
instead.
RolloutConfig
LiveCopy.addExclusion(String)
instead
LiveRelationshipManager.getLiveRelationships(org.apache.sling.api.resource.Resource, com.day.cq.wcm.msm.api.RolloutManager.Trigger, String[], boolean)
to search for LiveCopies
LiveRelationshipManager.getLiveRelationship(org.apache.sling.api.resource.Resource, boolean)
LiveCopy.getExclusions()
instead
BlueprintManager.getContainingBlueprint(String)
to check
LiveRelationshipManager.hasLiveRelationship(org.apache.sling.api.resource.Resource)
instead
LiveCopy.removeExclusion(String)
instead
getActions()
instead
ParticipantStepChooser
instead.
HasMetaData.getMetaDataMap()
instead.
PayloadMap.getWorkflowInstances(String, boolean)
instead!
PayloadMap.isInWorkflow(String, boolean)
instead!
WorkflowStatus.getWorkflows(boolean)
instead
WorkflowStatus.isInRunningWorkflow(boolean)
instead
TokenCookie.setCookie(HttpServletResponse, String, String, int, String, String, boolean, boolean)
instead
TokenCookie.update(HttpServletRequest, HttpServletResponse, String, String, String, boolean)
instead
com.day.image.Dither.dither(BufferedImage, int, long, long, int)
Text.makeCanonicalPath(char[])
instead
JfifDirectory.getResX()
instead.
JfifDirectory.getResY()
instead.
IOContext.contentReference()
instead
TSFBuilder.configure(JsonFactory.Feature, boolean)
instead
JsonFactory.createGenerator(OutputStream, JsonEncoding)
instead.
JsonFactory.createParser(File)
instead.
TSFBuilder.configure(JsonFactory.Feature, boolean)
instead
TSFBuilder.configure(JsonFactory.Feature, boolean)
instead
TSFBuilder.inputDecorator(InputDecorator)
instead
TSFBuilder.outputDecorator(OutputDecorator)
instead
JsonGenerator.overrideStdFeatures(int, int)
instead -- remove from 2.9
JsonGenerator.writeStartArray(Object, int)
instead
JsonLocation.contentReference()
instead
JsonParser.currentTokenId()
instead
JsonParser.overrideStdFeatures(int, int)
instead
JsonStreamContext.startLocation(com.fasterxml.jackson.core.io.ContentReference)
instead
JsonStreamContext.typeDesc()
instead
ObjectCodec.getFactory()
instead.
VersionUtil.versionFor(Class)
instead
Version.isUnknownVersion()
JsonInclude
AnnotationIntrospector.findCreatorAnnotation(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated)
instead.
AnnotationIntrospector.refineDeserializationType(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.JavaType)
instead
AnnotationIntrospector.refineDeserializationType(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.JavaType)
instead
AnnotationIntrospector.refineDeserializationType(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.JavaType)
instead
AnnotationIntrospector.findEnumValues(java.lang.Class<?>, java.lang.Enum<?>[], java.lang.String[])
instead because this method
does not properly handle override settings (defaults to
enum.name
without indicating whether that is explicit or not), and is inefficient to
call one-by-one.
AnnotationIntrospector.findPropertyIgnoralByName(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated)
instead
AnnotationIntrospector.findInjectableValue(com.fasterxml.jackson.databind.introspect.AnnotatedMember)
instead
AnnotationIntrospector.findPropertyIgnoralByName(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated)
instead
AnnotationIntrospector.findPropertyIgnoralByName(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated)
instead.
AnnotationIntrospector.refineSerializationType(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.JavaType)
instead
AnnotationIntrospector.findPropertyInclusion(com.fasterxml.jackson.databind.introspect.Annotated)
instead
AnnotationIntrospector.findPropertyInclusion(com.fasterxml.jackson.databind.introspect.Annotated)
instead
AnnotationIntrospector.refineSerializationType(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.JavaType)
instead
AnnotationIntrospector.refineSerializationType(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated, com.fasterxml.jackson.databind.JavaType)
instead
AnnotationIntrospector.hasAnyGetter(com.fasterxml.jackson.databind.introspect.Annotated)
instead
AnnotationIntrospector.hasAnySetter(com.fasterxml.jackson.databind.introspect.Annotated)
instead.
AnnotationIntrospector.hasAsValue(Annotated)
instead.
AnnotationIntrospector.findCreatorAnnotation(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, com.fasterxml.jackson.databind.introspect.Annotated)
instead.
BeanDescription.findAnySetterAccessor()
instead
BeanDescription.findAnySetterAccessor()
instead
BeanDescription.findBackReferences()
instead
BeanDescription.getFactoryMethods()
, filter.
BeanDescription.getConstructors()
, filter.
getType
of
property accessor directly.
BeanProperty.findPropertyFormat(com.fasterxml.jackson.databind.cfg.MapperConfig<?>, java.lang.Class<?>)
instead.
MapperConfigBase.getFullRootName()
instead.
BeanDeserializerBase.handledType()
instead
BeanDeserializerBase.withByNameInclusion(java.util.Set<java.lang.String>, java.util.Set<java.lang.String>)
instead
ValueInstantiator
StdDeserializer.handledType()
instead
DeserializationContext.handleBadMerge(com.fasterxml.jackson.databind.JsonDeserializer<?>)
instead
DeserializationContext.reportBadDefinition(JavaType, String)
,
or
DeserializationContext.reportInputMismatch(com.fasterxml.jackson.databind.JsonDeserializer<?>, java.lang.String, java.lang.Object...)
instead
DeserializationContext.handleUnknownProperty(com.fasterxml.jackson.core.JsonParser, com.fasterxml.jackson.databind.JsonDeserializer<?>, java.lang.Object, java.lang.String)
instead
DeserializationContext.handleUnknownTypeId(com.fasterxml.jackson.databind.JavaType, java.lang.String, com.fasterxml.jackson.databind.jsontype.TypeIdResolver, java.lang.String)
instead
Annotated.getAnnotated()
AnnotatedClassResolver
instead.
AnnotatedClassResolver
instead.
AnnotatedClass.getFactoryMethods()
instead.
POJOPropertiesCollector.getAnyGetterMethod()
and
POJOPropertiesCollector.getAnyGetterField()
.
JsonSerializer.isEmpty(SerializerProvider, Object)
instead;
will be removed from 3.0
SubtypeResolver.collectAndResolveSubtypesByClass(MapperConfig, AnnotatedMember, JavaType)
or
SubtypeResolver.collectAndResolveSubtypesByTypeId(MapperConfig, AnnotatedMember, JavaType)
instead.
TypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypePrefix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
instead
TypeSerializer.writeTypeSuffix(JsonGenerator, WritableTypeId)
instead
ObjectNode.set(String,JsonNode)
or
ObjectNode.replace(String,JsonNode)
,
ObjectNode.setAll(Map)
,
ObjectMapper.addMixIn(Class, Class)
.
JsonMapper.builder().configure(...)
JsonMapper.builder().disable(...)
ObjectMapper.deactivateDefaultTyping()
instead
JsonMapper.builder().enable(...)
ObjectMapper.activateDefaultTyping(PolymorphicTypeValidator)
instead
ObjectMapper.activateDefaultTypingAsProperty(PolymorphicTypeValidator,DefaultTyping,String)
instead
ObjectMapper.acceptJsonFormatVisitor(JavaType, JsonFormatVisitorWrapper)
)
ObjectMapper.readerFor(JavaType)
instead
ObjectMapper.setFilterProvider(com.fasterxml.jackson.databind.ser.FilterProvider)
instead (allows chaining)
ObjectMapper.setMixIns(java.util.Map<java.lang.Class<?>, java.lang.Class<?>>)
.
ObjectMapper.setDefaultPropertyInclusion(com.fasterxml.jackson.annotation.JsonInclude.Value)
ObjectMapper.setVisibility(VisibilityChecker)
instead.
ObjectMapper.writerFor(Class)
instead
ObjectReader.forType(JavaType)
instead
ObjectWriter.with(FormatSchema)
instead
ObjectWriter.forType(JavaType)
instead
depositSchemaProperty
method
BeanPropertyWriter.getType()
instead.
BeanPropertyWriter.getType()
instead.
BeanPropertyFilter
is deprecated;
PropertyFilter
instead of
BeanPropertyFilter
depositSchemaProperty
method
MapperConfigBase.getDefaultPropertyInclusion()
instead
CollectionLikeType.upgradeFrom(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.JavaType)
for constructing instances, given
pre-resolved
SimpleType
.
TypeFactory.constructParametricType(Class,JavaType...)
instead
AccessorNamingStrategy
AccessorNamingStrategy
AccessorNamingStrategy
AccessorNamingStrategy
DeserializationContext.bufferAsCopyOfValue(com.fasterxml.jackson.core.JsonParser)
instead.
stopwatch.elapsed(MILLISECONDS)
instead. This
method is scheduled to be removed in Guava release 16.0.
Stopwatch.elapsed(TimeUnit)
instead. This method is
scheduled to be removed in Guava release 16.0.
ComparisonChain.compareFalseFirst(boolean, boolean)
; or, if the parameters passed
are being either negated or reversed, undo the negation or reversal and
use
ComparisonChain.compareTrueFirst(boolean, boolean)
.
This method is scheduled for deletion
in September 2013.
FluentIterable
don't need to be converted to
FluentIterable
MapMaker
has been moved to
CacheBuilder
, with
GenericMapMaker.softValues()
being replaced by
CacheBuilder.softValues()
. Note that
CacheBuilder
is simply
an enhanced API for an implementation which was branched from
MapMaker
.
This
method is scheduled for deletion in August 2014.
MapMaker
has been moved to
CacheBuilder
, with
MapMaker.softValues()
being replaced by
CacheBuilder.softValues()
. Note that
CacheBuilder
is simply
an enhanced API for an implementation which was branched from
MapMaker
.
This
method is scheduled for deletion in September 2014.
ContiguousSet.create(range, domain)
. To be removed in Guava 16.0.
Funnels.unencodedCharsFunnel()
instead. This method is scheduled for
removal in Guava 16.0.
HashCode.fromBytes(byte[])
instead. This method is scheduled to be removed in
Guava 16.0.
HashCode.fromInt(int)
instead. This method is scheduled to be removed in
Guava 16.0.
HashCode.fromLong(long)
instead. This method is scheduled to be removed in
Guava 16.0.
Hasher.putUnencodedChars(java.lang.CharSequence)
instead. This method is scheduled for
removal in Guava 16.0.
HashFunction.hashUnencodedChars(java.lang.CharSequence)
instead. This method is scheduled for
removal in Guava 16.0.
BaseEncoding.decodingSource(CharSource)
instead. This method is scheduled to be
removed in Guava 16.0.
BaseEncoding.encodingSink(CharSink)
instead. This method is scheduled to be
removed in Guava 16.0.
write(s.getBytes(Charsets.UTF_8))
.
OutputSupplier
interface and should not be called directly. Use
ByteSink.openStream()
instead.
InputSupplier
interface and should not be called directly. Use
ByteSource.openStream()
instead.
ByteSource.wrap(byte[])
instead. This method is
scheduled to be removed in Guava 16.0.
OutputSupplier
interface and should not be called directly. Use
CharSink.openStream()
instead.
InputSupplier
interface and should not be called directly. Use
CharSource.openStream()
instead.
CharSource.wrap(CharSequence)
instead. This method
is scheduled to be removed in Guava 16.0.
Closer
on JDK6 to close one or
more
Closeable
objects. This method is deprecated because it is easy to misuse and
may swallow IO exceptions that really should be thrown and handled. See
Guava issue
1118
for a more detailed explanation of the reasons for deprecation and see
Closing Resources for more information on the problems with closing
Closeable
objects and some of the preferred solutions for handling it correctly. This method is
scheduled to be removed in Guava 16.0.
FileBackedOutputStream.asByteSource()
instead. This method is scheduled
to be removed in Guava 16.0.
writeBytes(String s)
are considered
dangerous. Please use
LittleEndianDataOutputStream.writeUTF(String s)
,
LittleEndianDataOutputStream.writeChars(String s)
or another write method instead.
Service.startAsync()
instead of this method to start the
Service
or
use a
Service.Listener
to asynchronously wait for service startup.
Service.startAsync()
and
Service.awaitRunning()
instead of this method.
Service.stopAsync()
instead of this method to initiate service shutdown or use a
service
Service.Listener
to asynchronously wait for service shutdown.
Service.stopAsync()
and
Service.awaitTerminated()
instead of this method.
UpdateRequest.getUpdateValue()
instead
GridFSBucket.downloadToStream(String, OutputStream)
instead.
GridFSBucket.openDownloadStream(String)
instead.
GridFSUploadStream.getObjectId()
instead.
ReplaceOneModel.getReplaceOptions()
instead
Iterable.forEach(Consumer)
, which was added in Java 8
ClusterDescription.getServerDescriptions()
instead
Connection.killCursor(MongoNamespace, List)
ConnectionDescription.getMaxWireVersion()
instead
ServerDescription.Builder.maxWireVersion
instead
ServerDescription.getMaxWireVersion()
instead
MongoClientSettings.Builder.streamFactoryFactory(StreamFactoryFactory)
to configure the stream type
programmatically
DBCursor.addOption(int)
DB.command
to call either the createUser or updateUser command
DB.getCollection(String)
DB.getMongoClient()
instead
DBCursor.getOptions()
DB.command(DBObject)
to run the dbStats command
DB.command
to call the dropUser command
DBCursor.resetOptions()
DBCursor.setOptions(int)
ReadPreference.secondaryPreferred()
DBCursor.addOption(int)
DBCollection.aggregate(List, AggregationOptions)
instead
DBCursor.skip(int)
,
DBCursor.batchSize(int)
and
DBCursor.setOptions(int)
on the
DBCursor
returned from
DBCollection.find(DBObject,
DBObject)
DBCursor.hint(DBObject)
DBCursor.getOptions()
DBCursor.resetOptions()
DBCursor.hint(DBObject)
DBCursor.setOptions(int)
ReadPreference.secondaryPreferred()
DBCursor.cursorType(CursorType)
,
DBCursor.noCursorTimeout(boolean)
, etc.
DBCursor.comment(String)
,
DBCursor.explain()
, etc.
DBCursor.hint(DBObject)
ReadPreference.secondaryPreferred()
DBCursor
MongoClient.listDatabaseNames()
MongoClient.getDatabase(String)
for
new code. Note that
DB
and
MongoDatabase
can be used together in the same application, whith the
same
MongoClient
instance.
MongoClient
class to connect to server and corresponding
MongoClient.getMongoClientOptions()
DBCursor
Mongo.Holder.connect(MongoClientURI)
instead.
DBCursor
DBCursor
MongoClientURI
or
MongoClientOptions
MongoClientURI
or
MongoClientOptions
ReadPreference.secondaryPreferred()
MongoClient.getCredential()
MongoClientOptions.Builder.sslEnabled(boolean)
and
MongoClientOptions.Builder.sslContext(SSLContext)
MongoCredential.createCredential(String, String, char[])
factory method instead.
ChangeStreamOperation.getResumeAfter()
instead
FsyncUnlockOperation.execute(ReadBinding)
instead.
ServerAddress.equals(Object)
method instead
WriteConcern.getJournal()
WriteConcern.getJournal()
WriteConcern.getJournal()
WriteConcern.MAJORITY
,
WriteConcern.withWTimeout(long, TimeUnit)
,
WriteConcern.withJournal(Boolean)
id(Map<String,String>)
Session.save()
should be used
instead.
VersionManager.cancelMerge(java.lang.String, javax.jcr.version.Version)
should be used instead.
VersionManager.checkin(java.lang.String)
should be used instead.
VersionManager.checkout(java.lang.String)
should be used instead.
VersionManager.doneMerge(java.lang.String, javax.jcr.version.Version)
should be used instead.
VersionManager.getBaseVersion(java.lang.String)
should be used instead.
LockManager.getLock(String)
should be
used instead.
Node.getIdentifier()
should be used
instead.
VersionManager.getVersionHistory(java.lang.String)
should be used instead.
LockManager.holdsLock(String)
should
be used instead.
LockManager.lock(String, boolean,
boolean, long, String)
should be used instead.
VersionManager.merge(java.lang.String, java.lang.String, boolean)
should be used instead.
VersionManager.restore(javax.jcr.version.Version[], boolean)
should be used instead.
VersionManager.restoreByLabel(java.lang.String, java.lang.String, boolean)
should be used instead.
Node.setProperty(String, Binary)
should be
used instead.
LockManager.unlock(String)
should be
used instead.
NodeType.canRemoveNode(String)
and
NodeType.canRemoveProperty(String)
instead.
Property.getBinary()
should be used instead.
Property.setValue(Binary)
should be used
instead.
LockManager.addLockToken(String)
should be used instead.
LockManager.getLockTokens()
should be
used instead.
Session.getNodeByIdentifier(String)
should be
used instead.
LockManager.removeLockToken(String)
should be used instead.
Value.getBinary()
should be used instead.
ValueFactory.createValue(Binary)
should be used
instead.
VersionHistory.getVersionableIdentifier()
should be
used instead.
VersionManager.restore(javax.jcr.version.Version[], boolean)
should be used instead.
HttpServletRequest.isRequestedSessionIdFromURL()
instead.
setStatus(int)
, to send an error with a
description use
sendError(int, String)
.
HttpSession.getAttribute(java.lang.String)
.
HttpSession.getAttributeNames()
HttpSession.setAttribute(java.lang.String, java.lang.Object)
HttpSession.removeAttribute(java.lang.String)
Enumeration
and will be
removed in a future version of this API.
java.lang.Throwable.getCause()
ServletContext.log(String message, Throwable throwable)
instead.
This method was originally defined to write an exception's
stack trace and an explanatory error message to the servlet
log file.
ServletContext.getRealPath(java.lang.String)
instead.
DictionaryEntryPersistor.serialize(java.io.OutputStream, java.util.Iterator, boolean)
instead
opennlp.tools.ml.AbstractEventTrainer.isValid()
opennlp.tools.ml.AbstractTrainer.init(Map<String, String>, Map<String, String>)
opennlp.tools.ml.AbstractTrainer.isValid()
AbstractTrainer.validate()
instead.
TrainingParameters.getObjectSettings(String)
instead
Base64.isBase64(byte[])
, will be removed in 2.0.
DigestUtils.getSha1Digest()
DigestUtils.sha1(byte[])
DigestUtils.sha1Hex(byte[])
getInitializedMac(HmacAlgorithms.HMAC_MD5, byte[])
getInitializedMac(HmacAlgorithms.HMAC_SHA_1, byte[])
getInitializedMac(HmacAlgorithms.HMAC_SHA_256, byte[])
getInitializedMac(HmacAlgorithms.HMAC_SHA_384, byte[])
getInitializedMac(HmacAlgorithms.HMAC_SHA_512, byte[])
new HmacUtils(HmacAlgorithms.HMAC_MD5, byte[]).hmac(byte[])
new HmacUtils(HmacAlgorithms.HMAC_MD5, byte[]).hmacHex(byte[])
new HmacUtils(HmacAlgorithms.HMAC_SHA_1, byte[]).hmac(byte[])
new HmacUtils(HmacAlgorithms.HMAC_SHA_1, byte[]).hmacHex(byte[])
new HmacUtils(HmacAlgorithms.HMAC_SHA_256, byte[]).hmac(byte[])
new HmacUtils(HmacAlgorithms.HMAC_SHA_256, byte[]).hmacHex(byte[])
new HmacUtils(HmacAlgorithms.HMAC_SHA_384, byte[]).hmac(byte[])
new HmacUtils(HmacAlgorithms.HMAC_SHA_384, byte[]).hmacHex(byte[])
new HmacUtils(HmacAlgorithms.HMAC_SHA_512, byte[]).hmac(byte[])
new HmacUtils(HmacAlgorithms.HMAC_SHA_512, byte[]).hmacHex(byte[])
MurmurHash3.hash128x64(byte[])
using the bytes returned from
String.getBytes(java.nio.charset.Charset)
.
MurmurHash3.hash32x86(byte[], int, int, int)
. This corrects the processing of trailing bytes.
MurmurHash3.hash128x64(byte[])
with the bytes from the
long
.
URLCodec.getDefaultCharset()
, will be removed in 2.0.
CollectionUtils.get(Object, int)
instead. Will be removed in v4.0
IterableUtils.frequency(Iterable, Object)
instead.
Be aware that the order of parameters has changed.
IterableUtils.countMatches(Iterable, Predicate)
instead
IterableUtils.matchesAny(Iterable, Predicate)
instead
IterableUtils.find(Iterable, Predicate)
instead
IterableUtils.forEachButLast(Iterable, Closure)
instead
IterableUtils.forEach(Iterable, Closure)
instead
IteratorUtils.get(Iterator, int)
instead
IterableUtils.matchesAll(Iterable, Predicate)
instead
Collections.synchronizedCollection(Collection)
instead
Collections.unmodifiableCollection(Collection)
instead
MultiValuedMap
instead
ArchiveStreamFactory(String)
to specify the encoding
CpioArchiveEntry.getHeaderPadCount(Charset)
or
CpioArchiveEntry.getHeaderPadCount(long)
in any case.
Integer.MAX_VALUE
Integer.MAX_VALUE
CompressorStreamFactory(boolean)
constructor instead
DiskFileItemFactory
instead.
FileUpload
instead.
DiskFileItemFactory
instead.
DiskFileItemFactory
instead.
ServletFileUpload
instead.
FileUpload
instead.
DiskFileItemFactory
instead.
DiskFileItemFactory
instead.
ServletFileUpload
instead.
ServletFileUpload.parseRequest(HttpServletRequest)
instead.
PortletRequestContext.contentLength()
instead
UploadContext.contentLength()
instead
ServletRequestContext.contentLength()
instead
AuthScheme.authenticate(Credentials, HttpMethod)
Produces an authorization string for the given set of
Credentials
,
method name and URI using the given authentication scheme in response to
the actual authorization challenge.
NTLMScheme.authenticate(Credentials, HttpMethod)
DefaultHttpParams.getParameter(String)
to exercise a more granular control over HTTP protocol strictness.
org.apache.commons.httpclient.HttpClient.setConnectionTimeout(int)
HttpConnectionParams.setConnectionTimeout(int)
,
HttpConnectionManager.getParams()
.
org.apache.commons.httpclient.HttpClient.setHttpConnectionFactoryTimeout(long)
HttpClientParams.setConnectionManagerTimeout(long)
,
HttpClient.getParams()
org.apache.commons.httpclient.HttpClient.setStrictMode(boolean)
DefaultHttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.
HttpConnectionParams.setSoTimeout(int)
,
HttpConnectionManager.getParams()
.
org.apache.commons.httpclient.HttpConnection.getSoTimeout()
org.apache.commons.httpclient.HttpConnection.getVirtualHost()
HttpConnection.print(String, String)
Writes the specified String (as bytes) to the output stream.
HttpConnection.printLine(String, String)
Writes the specified String (as bytes), followed by
"\r\n".getBytes()
to the output stream.
HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.
HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.
HttpMethodParams
HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.
HttpMethodParams
HttpParams.setParameter(String, Object)
to exercise a more granular control over HTTP protocol strictness.
HttpMethodParams.getCookiePolicy()
,
HttpMethod.getParams()
.
org.apache.commons.httpclient.HttpState.getCookies(String, int, String, boolean)
HttpClientParams.isAuthenticationPreemptive()
,
HttpClient.getParams()
.
org.apache.commons.httpclient.HttpState.setAuthenticationPreemptive(boolean)
HttpClientParams.setAuthenticationPreemptive(boolean)
,
HttpClient.getParams()
.
org.apache.commons.httpclient.HttpState.setCookiePolicy(int)
org.apache.commons.httpclient.HttpState.setCredentials(String, String, Credentials)
EntityEnclosingMethod.setContentChunked(boolean)
or
EntityEnclosingMethod.setRequestEntity(RequestEntity)
HttpMethodParams
HttpMethodParams
HttpMethodParams
HttpMethodParams
Part.getPartBoundary()
HttpConnectionManagerParams.getDefaultMaxConnectionsPerHost()
,
HttpConnectionManager.getParams()
.
HttpConnectionManagerParams.setDefaultMaxConnectionsPerHost(int)
,
HttpConnectionManager.getParams()
.
Throwable.getMessage()
.
CopyUtils.copy(byte[], Writer, String)
instead
FileStore.getUsableSpace()
.
FileUtils.readFileToString(File, Charset)
instead (and specify the appropriate encoding)
FileUtils.readLines(File, Charset)
instead (and specify the appropriate encoding)
FileUtils.write(File, CharSequence, Charset)
instead (and specify the appropriate encoding)
FileUtils.writeStringToFile(File, String, Charset)
instead (and specify the appropriate encoding)
IOUtils.copy(InputStream, Writer, Charset)
instead
IOUtils.readLines(InputStream, Charset)
instead
IOUtils.toByteArray(Reader, Charset)
instead
IOUtils.toCharArray(InputStream, Charset)
instead
IOUtils.toInputStream(CharSequence, Charset)
instead
String(byte[])
instead
IOUtils.write(byte[], Writer, Charset)
instead
IOUtils.writeLines(Collection, String, OutputStream, Charset)
instead
AbstractByteArrayOutputStream.toString(String)
instead
StandardToStringStyle.isUseShortClassName()
Method will be removed in Commons Lang 3.0.
StandardToStringStyle.setUseShortClassName(boolean)
Method will be removed in Commons Lang 3.0.
CharSet.getInstance(String[])
.
Method will be removed in Commons Lang 3.0.
StringUtils.replaceChars(String, String, String)
.
Method will be removed in Commons Lang 3.0.
NOTE: StringUtils#replaceChars behaves differently when 'searchChars' is longer
than 'replaceChars'. CharSetUtils#translate will use the last char of the replacement
string whereas StringUtils#replaceChars will delete
NumberUtils.toInt(String)
This method will be removed in Commons Lang 3.0
StringUtils.capitalize(String)
.
Method will be removed in Commons Lang 3.0.
WordUtils.capitalize(String)
.
Method will be removed in Commons Lang 3.0.
StringUtils.chomp(String)
instead.
Method will be removed in Commons Lang 3.0.
StringUtils.chomp(String)
instead.
Method will be removed in Commons Lang 3.0.
StringUtils.trimToEmpty(String)
.
Method will be removed in Commons Lang 3.0.
StringUtils.join(Object[])
instead.
Method will be removed in Commons Lang 3.0.
StringUtils.deleteWhitespace(String)
.
Method will be removed in Commons Lang 3.0.
StringEscapeUtils.escapeJava(String)
This method will be removed in Commons Lang 3.0
StringUtils.substringAfterLast(String, String)
instead
(although this doesn't include the separator)
Method will be removed in Commons Lang 3.0.
StringUtils.substringBetween(String, String)
.
Method will be removed in Commons Lang 3.0.
StringUtils.substringBefore(String,String)
instead
(although this doesn't include the separator).
Method will be removed in Commons Lang 3.0.
StringUtils.overlay(String, String, int, int)
instead.
Method will be removed in Commons Lang 3.0.
StringUtils.substringAfter(String,String)
instead.
Method will be removed in Commons Lang 3.0.
StringUtils.reverseDelimited(String, char)
instead.
This method is broken as the join doesn't know which char to use.
Method will be removed in Commons Lang 3.0.
StringUtils.uncapitalize(String)
.
Method will be removed in Commons Lang 3.0.
SystemUtils.JAVA_VERSION_FLOAT
instead.
Method will be removed in Commons Lang 3.0.
ArrayUtils.insert(int, boolean[], boolean...)
and
may be removed in a future release. Please note the handling of
null
input arrays differs
in the new method: inserting
X
into a
null
array results in
null
not
X
.
java.util.Objects.deepEquals(Object, Object)
and will be
removed from future releases.
Charset.isSupported(String)
instead, although be aware that
null
values are not accepted by that method and an
IllegalCharsetNameException
may be thrown.
Character.valueOf(char)
which caches chars 0 through 127.
Throwable.getCause()
instead
NumberUtils.isCreatable(String)
instead
java.util.Objects.equals(Object, Object)
in Java 7 and will
be removed from future releases.
java.util.Objects.hashCode(Object)
in Java 7 and will be
removed in future releases
java.util.Objects.hash(Object...)
in Java 7 and will be
removed in future releases.
identityToString
methods instead
java.util.Objects.toString(Object)
in Java 7 and will be
removed in future releases. Note however that said method will return "null" for null references, while this
method returns an empty String. To preserve behavior use
java.util.Objects.toString(myObject, "")
final
modifier, thus
rendering this method obsolete. The JDK discussion about this change can be found
here: http://mail.openjdk.java.net/pipermail/core-libs-dev/2018-November/056486.html
StringEscapeUtils.escapeXml10(java.lang.String)
or
StringEscapeUtils.escapeXml11(java.lang.String)
instead.
StringUtils.removeEnd(String, String)
instead
StringUtils.toEncodedString(byte[], Charset)
instead of String constants in your code
FastDatePrinter.format(Date)
, {
FastDatePrinter.format(Calendar)
, {
FastDatePrinter.format(long)
, or {
FastDatePrinter.format(Object)
UnivariateRealIntegrator.integrate(UnivariateRealFunction, double, double)
since 2.0
MullerSolver.solve2(UnivariateRealFunction, double, double)
since 2.0
UnivariateRealSolver.solve(UnivariateRealFunction, double, double)
since 2.0
LUDecomposition
MatrixUtils.createFieldIdentityMatrix(Field, int)
MatrixUtils.createFieldMatrix(FieldElement[][])
MatrixUtils.createColumnFieldMatrix(FieldElement[])
MatrixUtils.createRowFieldMatrix(FieldElement[])
OpenMapRealVector.getSparsity()
new LUDecompositionImpl(m)
.
getDeterminant()
new LUDecompositionImpl(m)
.
getSolver()
.
getInverse()
new LUDecompositionImpl(m)
.
getSolver()
.
isNonSingular()
DecompositionSolver.solve(double[])
MathException.getSpecificPattern()
and
MathException.getGeneralPattern()
MathRuntimeException.createArithmeticException(Localizable, Object...)
MathRuntimeException.createArrayIndexOutOfBoundsException(Localizable, Object...)
MathRuntimeException.createConcurrentModificationException(Localizable, Object...)
MathRuntimeException.createEOFException(Localizable, Object...)
MathRuntimeException.createIllegalArgumentException(Localizable, Object...)
MathRuntimeException.createIllegalStateException(Localizable, Object...)
MathRuntimeException.createNoSuchElementException(Localizable, Object...)
MathRuntimeException.createNullPointerException(Localizable, Object...)
MathRuntimeException.createParseException(int, Localizable, Object...)
MathUnsupportedOperationException
instead.
MathRuntimeException.getSpecificPattern()
and
MathRuntimeException.getGeneralPattern()
Frequency.addValue(Comparable)
instead
Frequency.getCount(Comparable)
as of 2.0
Frequency.getCumFreq(Comparable)
as of 2.0
Frequency.getCumPct(Comparable)
as of 2.0
Frequency.getPct(Comparable)
as of 2.0
checkOrder
method). To be removed in 3.0.
NaN == NaN
. In release
3.0, the semantics will change in order to comply with IEEE754 where it
is specified that
NaN != NaN
.
New methods have been added for those cases wher the old semantics is
useful (see e.g.
equalsIncludingNaN
.
FastMath.nextAfter(double, double)
which handles Infinities differently, and returns direction if d and direction compare equal.
FastMath.scalb(double, int)
ResizableDoubleArray.getInternalValues()
as of 2.0
LongestCommonSubsequence.longestCommonSubsequence(CharSequence, CharSequence)
instead.
This method will be removed in 2.0.
ContextAwareAuthScheme.authenticate(Credentials, HttpRequest, org.apache.http.protocol.HttpContext)
AuthState.reset()
RequestConfig.Builder.setContentCompressionEnabled(boolean)
to
false
and
add the
Accept-Encoding
request header.
Executor.use(CookieStore)
.
HttpClientBuilder
.
RequestConfig
.
RequestConfig
.
URIBuilder
.
URIUtils.rewriteURI(URI, HttpHost, EnumSet)
EntityUtils.consume(HttpEntity)
DefaultHttpResponseParser
implementation
PlainSocketFactory.connectSocket(Socket, InetSocketAddress, InetSocketAddress, HttpParams)
Scheme.getSchemeSocketFactory()
HttpEntity.getContent()
and call
InputStream.close()
on that;
otherwise call
HttpEntity.writeTo(java.io.OutputStream)
which is required to free the resources.
HttpEntityWrapper.getContent()
and call
InputStream.close()
on that;
otherwise call
HttpEntityWrapper.writeTo(OutputStream)
which is required to free the resources.
StringBody(String, ContentType)
or
MultipartEntityBuilder
EntityUtils.consume(HttpEntity)
ContextAwareAuthScheme.authenticate(
Credentials, HttpRequest, org.apache.http.protocol.HttpContext)
ContextAwareAuthScheme.authenticate(
Credentials, HttpRequest, org.apache.http.protocol.HttpContext)
ContextAwareAuthScheme.authenticate(
Credentials, HttpRequest, org.apache.http.protocol.HttpContext)
CacheConfig.getMaxObjectSize()
CacheConfig.Builder
.
CacheConfig.Builder
.
CacheConfig.Builder
.
CacheConfig.Builder
.
CacheConfig.Builder
.
CacheConfig.Builder
.
CacheConfig.Builder
.
CacheConfig.Builder
.
CacheConfig.Builder
.
CacheConfig.Builder
.
CacheConfig.Builder
.
CacheConfig.Builder
.
AbstractCookieSpec(java.util.HashMap)
or
AbstractCookieSpec(org.apache.http.cookie.CommonCookieAttributeHandler...)
constructors instead.
IOReactorConfig.Builder.setSoLinger(int)
TokenParser
NByteArrayEntity.close()
NFileEntity.close()
NStringEntity.close()
ConnectionReuseStrategy
using constructor
HttpExpectationVerifier
using constructor
HttpRequestHandlerResolver
using constructor
HttpProcessor
using constructor
HttpResponseFactory
using constructor
HttpResponseFactory
using constructor
ContentType.getOrDefault(HttpEntity)
ContentType.getOrDefault(HttpEntity)
CheckpointMBean
instead
CheckpointMBean
instead
FileIOUtils.writeStrings(Iterator, File, boolean, java.util.function.Function, Logger, String)
instead
Jcr.with(ThreeWayConflictHandler)
instead
Jcr.withAsyncIndexing(String, long)
instead
Oak.with(ThreeWayConflictHandler)
instead
Oak.withAsyncIndexing(String, long)
instead
ConflictHook.of(ThreeWayConflictHandler)
instead.
UUIDUtils.isValidUUID(String)
(String)}
TypePredicate.test(NodeState)
instead (see
OAK-8874
)
PropertyPredicate.test(NodeState)
instead (see
OAK-8874
)
UuidPredicate.test(NodeState)
instead (see
OAK-8874
)
QueryEngineSettings
PathUtils.concatRelativePaths(String...)
instead.
OrderQueryNode.addOrderSpec(Path , boolean)
instead.
OrderQueryNode.OrderSpec.getPropertyPath()
instead.
TextsearchQueryNode.getRelativePath()
instead.
TextsearchQueryNode.setRelativePath(Path)
instead.
Version.compareTo(Version)
. See JCRVLT-146
PropContainer.addContent(PropEntry)
instead.
DomUtil.getExpandedName(String, Namespace)
instead. This method was named according to usage of 'qualified name' in
JSR 170 that conflicts with the terminology used in XMLNS. As of JCR 2.0
the String consisting of
"{" + namespace uri + "}" + localName
is called
Expanded Name
.
Category.getLevel()
instead.
Level.toLevel(String)
method instead.
AtomicReader.getFieldInfos()
and check
FieldInfo.hasNorms()
for the field instead.
StandardQueryParser.setDateResolutionMap(Map)
StandardQueryParser.setPhraseSlop(int)
IntField
and then use
FieldCache.getInts(AtomicReader, String, boolean)
instead.
IntField
and then use
FieldCache.getInts(AtomicReader, String, boolean)
instead.
IndexSearcher.doc(int, Set)
instead.
getType()
instead
getType
instead
getCachedFormulaResultType
Will be deleted when we make the CellType enum transition. See bug 59791.
HSSFCell.setCellErrorValue(FormulaError)
instead.
getType()
instead
getAllEmbeddedParts
instead
FileMagic.valueOf(InputStream)
== FileMagic.OOXML instead
ultimateType
instead
evaluateFormulaCell(cell)
instead
appendFormat(StringBuilder out, String rawSheetName)
instead
getBorderBottom
instead
getBorderDiagonal
instead
getBorderHorizontal
instead
getBorderLeft
instead
getBorderRight
instead
getBorderTop
instead
getBorderVertical
instead
getAlignment()
instead
getBorderBottom()
instead
getBorderLeft()
instead
getBorderRight()
instead
getBorderTop()
instead
getFillPattern()
instead
getFontIndexAsInt()
instead
getVerticalAlignment()
instead
int
s to
CellType
s.
getCellType
instead
getIndexAsInt()
instead
evaluateFormulaCell(cell)
getFontAt(int)
Workbook.getName(String)
instead.
getNumberOfFontsAsInt()
instead
Workbook.removeName(Name)
.
getItemAt
instead
getItemAt
instead
getItemAt
instead
getItemAt
instead
getCellAddresses
instead
addSharedStringItem(RichTextString string)
instead
getItemAt(int idx)
instead
getSharedStringItems
instead
getCachedFormulaResultType
instead
getCellType
instead
SXSSFWorkbook.getName(String)
instead.
SXSSFWorkbook.removeName(Name)
.
XSSFTableColumn.getId()
instead.
getCachedFormulaResultType
instead
Will be deleted when we make the CellType enum transition. See bug 59791.
getCellType
instead
XDDFChart.getAxes()
instead
getType
instead
XSSFTable.getColumnCount()
instead.
XSSFTableColumn.getXmlColumnPr()
instead.
XSSFWorkbook.getName(String)
instead.
XSSFWorkbook.removeName(Name)
.
XWPFRun.getParent()
instead
XWPFRun.getVerticalAlignment
ResourceProviderFactory.getResourceProvider(Map)
method honoring the
ResourceProviderFactory.SERVICE_BUNDLE
and
ResourceResolverFactory.SUBSERVICE
properties.
ResourceResolver.resolve(HttpServletRequest, String)
instead.
ResourceResolverFactory.getServiceResourceResolver(Map)
instead.
Resource.getName()
instead
Resource.getParent()
instead
Resource.listChildren()
instead
AuthUtil.getAttributeOrParameter(HttpServletRequest, String, String)
AuthUtil.getLoginResource(HttpServletRequest, String)
AuthUtil.isRedirectValid(HttpServletRequest, String)
.
Use the latter method.
AuthUtil.isValidateRequest(HttpServletRequest)
AuthUtil.sendInvalid(HttpServletRequest, HttpServletResponse)
AuthUtil.sendRedirect(HttpServletRequest, HttpServletResponse, String, Map)
AuthUtil.sendValid(HttpServletResponse)
AuthUtil.setLoginResourceAttribute(HttpServletRequest, String)
ConfigurationPersistenceStrategyMultiplexer
instead.
ConfigurationOverrideMultiplexer.overrideProperties(String, String, Resource, ResourceResolver)
instead.
OsgiUtil.toDouble(Object, double)
instead
RankedServices.getList()
instead
Scheduler.schedule(Object, ScheduleOptions)
instead.
Scheduler.schedule(Object, ScheduleOptions)
instead.
Scheduler.schedule(Object, ScheduleOptions)
instead.
Scheduler.schedule(Object, ScheduleOptions)
instead.
Scheduler.unschedule(String)
instead.
SlingRepository.loginService(String, String)
instead.
AccessControlUtil.replaceAccessControlEntry(Session, String, Principal, String[], String[], String[], String)
instead.
ChildResource.injectionStrategy()
instead.
OSGiService.injectionStrategy()
instead.
RequestAttribute.injectionStrategy()
instead.
ResourcePath.injectionStrategy()
instead.
ScriptVariable.injectionStrategy()
instead.
Self.injectionStrategy()
instead
SlingObject.injectionStrategy()
instead
ValueMapValue.injectionStrategy()
instead
ModelFactory.isModelClass(Class)
instead!
ModelUtility.getEffectiveModel(Model)
or
ModelUtility.getEffectiveModel(Model, ResolverOptions)
instead
MergeUtility.merge(Model, Model)
TikaConfig.getParser()
method instead
EmbeddedDocumentUtil.getTikaConfig()
instead
String.getBytes()
String(byte[])
TikaInputStream.get(Path)
. In Tika 2.0, this will be removed
or modified to throw an IOException.
Tika.detect(String)
instead
Parser.parse(InputStream, ContentHandler, Metadata, ParseContext)
method instead
HtmlMapper
mechanism to customize
the HTML mapping. This method will be removed in Tika 1.0.
TesseractOCRParser.parseInline(InputStream, XHTMLContentHandler, ParseContext, TesseractOCRConfig)
PDFParserConfig.setOcrDPI(int)
RecursiveParserWrapperHandler
instead
RecursiveParserWrapperHandler
instead
RecursiveParserWrapperHandler
RTFParser.setMemoryLimitInKb(int)
instead
CommonsDigester(int, String)
instead
BindingConfig.lookupJavanameForQName(QName, int)
FilterXmlObject.getBigDecimalValue()
FilterXmlObject.getBigIntegerValue()
FilterXmlObject.getBooleanValue()
FilterXmlObject.getByteArrayValue()
FilterXmlObject.getByteValue()
FilterXmlObject.getCalendarValue()
FilterXmlObject.getDateValue()
FilterXmlObject.getDoubleValue()
FilterXmlObject.getEnumValue()
FilterXmlObject.getFloatValue()
FilterXmlObject.getGDateValue()
FilterXmlObject.getGDurationValue()
FilterXmlObject.getIntValue()
FilterXmlObject.getListValue()
FilterXmlObject.getLongValue()
FilterXmlObject.setObjectValue(java.lang.Object)
FilterXmlObject.getObjectValue()
FilterXmlObject.getQNameValue()
FilterXmlObject.setStringValue(java.lang.String)
FilterXmlObject.getShortValue()
FilterXmlObject.getStringValue()
FilterXmlObject.getListValue()
BindingConfigImpl.lookupJavanameForQName(QName, int)
XmlObjectBase.getBigDecimalValue()
XmlObjectBase.getBigIntegerValue()
XmlObjectBase.getBooleanValue()
XmlObjectBase.getByteArrayValue()
XmlObjectBase.getByteValue()
XmlObjectBase.getCalendarValue()
XmlObjectBase.getDateValue()
XmlObjectBase.getDoubleValue()
XmlObjectBase.getEnumValue()
XmlObjectBase.getFloatValue()
XmlObjectBase.getGDateValue()
XmlObjectBase.getGDurationValue()
XmlObjectBase.getIntValue()
XmlObjectBase.getListValue()
XmlObjectBase.getLongValue()
XmlObjectBase.setObjectValue(java.lang.Object)
XmlObjectBase.getObjectValue()
XmlObjectBase.getQNameValue()
XmlObjectBase.setStringValue(java.lang.String)
XmlObjectBase.getShortValue()
XmlObjectBase.getStringValue()
XmlObjectBase.xgetListValue()
SimpleValue.getBigDecimalValue()
SimpleValue.getBigIntegerValue()
SimpleValue.getBooleanValue()
SimpleValue.getByteArrayValue()
SimpleValue.getByteValue()
SimpleValue.getCalendarValue()
SimpleValue.getDateValue()
SimpleValue.getDoubleValue()
SimpleValue.getEnumValue()
SimpleValue.getFloatValue()
SimpleValue.getGDateValue()
SimpleValue.getGDurationValue()
SimpleValue.getIntValue()
SimpleValue.getListValue()
SimpleValue.getLongValue()
SimpleValue.setObjectValue(java.lang.Object)
SimpleValue.getObjectValue()
SimpleValue.getQNameValue()
SimpleValue.setStringValue(java.lang.String)
SimpleValue.getShortValue()
SimpleValue.getStringValue()
SimpleValue.xgetListValue()
XmlAnySimpleType.getStringValue()
XmlBase64Binary.getByteArrayValue()
XmlBase64Binary.setByteArrayValue(byte[])
XmlBoolean.getBooleanValue()
XmlBoolean.setBooleanValue(boolean)
XmlByte.getByteValue()
XmlByte.setByteValue(byte)
XmlDate.getCalendarValue()
XmlDate.getDateValue()
XmlDate.getGDateValue()
XmlDate.setCalendarValue(java.util.Calendar)
XmlDateTime.getCalendarValue()
XmlDateTime.getDateValue()
XmlDateTime.getGDateValue()
XmlDateTime.setCalendarValue(java.util.Calendar)
XmlDecimal.getBigDecimalValue()
XmlDecimal.setBigDecimalValue(java.math.BigDecimal)
XmlDouble.getDoubleValue()
XmlDouble.setDoubleValue(double)
XmlDuration.getGDurationValue()
XmlENTITIES.getListValue()
XmlENTITIES.getListValue()
XmlENTITIES.getListValue()
XmlFloat.getFloatValue()
XmlFloat.setFloatValue(float)
XmlGDay.getCalendarValue()
XmlGDay.getGDateValue()
XmlGDay.getIntValue()
XmlGDay.setCalendarValue(java.util.Calendar)
XmlGMonth.getCalendarValue()
XmlGMonth.getGDateValue()
XmlGMonth.getIntValue()
XmlGMonth.setCalendarValue(java.util.Calendar)
XmlGMonthDay.getCalendarValue()
XmlGMonthDay.getGDateValue()
XmlGMonthDay.setCalendarValue(java.util.Calendar)
XmlGYear.getCalendarValue()
XmlGYear.getGDateValue()
XmlGYear.getIntValue()
XmlGYear.setCalendarValue(java.util.Calendar)
XmlGYearMonth.getCalendarValue()
XmlGYearMonth.getGDateValue()
XmlGYearMonth.setCalendarValue(java.util.Calendar)
XmlHexBinary.getByteArrayValue()
XmlHexBinary.setByteArrayValue(byte[])
XmlIDREFS.getListValue()
XmlIDREFS.getListValue()
XmlIDREFS.getListValue()
XmlInt.getIntValue()
XmlInt.setIntValue(int)
XmlInteger.getBigIntegerValue()
XmlInteger.setBigIntegerValue(java.math.BigInteger)
XmlLong.getLongValue()
XmlLong.setLongValue(long)
XmlNMTOKENS.getListValue()
XmlNMTOKENS.getListValue()
XmlNMTOKENS.getListValue()
XmlOptions.setSaveAggressiveNamespaces()
XmlQName.getQNameValue()
XmlQName.setQNameValue(javax.xml.namespace.QName)
XmlShort.setShortValue(short)
XmlShort.getShortValue()
XmlTime.getCalendarValue()
XmlTime.getGDateValue()
XmlTime.setCalendarValue(java.util.Calendar)
XmlUnsignedByte.setShortValue(short)
XmlUnsignedByte.getShortValue()
XmlUnsignedInt.getLongValue()
XmlUnsignedInt.setLongValue(long)
XmlUnsignedShort.getIntValue()
XmlUnsignedShort.setIntValue(int)
BSONObject.containsField(String)
instead
BsonReader.getMark()
instead
BsonReader.getMark()
BsonInput.getMark(int)
instead
BsonInput.getMark(int)
ObjectId(int, int)
instead
HttpDestination.remove(Connection)
instead
MetaData.getHttpVersion()
instead
ByteBufferPool.Bucket.acquire()
instead
SslConnection.isRequireCloseMessage()
instead
SslConnection.setRequireCloseMessage(boolean)
instead
MBeanContainer.mbeanFor(Object)
instead
GzipHandler.getIncludedMethods()
instead. (Will be removed in Jetty 10)
HttpConfiguration.getMinResponseDataRate()
and
HttpConfiguration.getMinRequestDataRate()
HttpConfiguration.setMinResponseDataRate(long)
and
HttpConfiguration.setMinRequestDataRate(long)
ConnectionLimit
Server.addBeanToAllConnectors(Object)
instead.
AbstractSessionCache.release(String, Session)
instead
Session.getAttributeNames()
SessionCache.renewSessionId(String oldId, String newId, String oldExtendedId, String newExtendedId)
org.eclipse.jetty.server.session.SessionHandler.complete(Session, Request)
org.eclipse.jetty.server.session.SessionHandler.sessionInactivityTimerExpired(Session)
org.eclipse.jetty.servlet.ServletContextHandler.addDecorator(ServletContextHandler.Decorator)
DecoratedObjectFactory
from getAttribute("org.eclipse.jetty.util.DecoratedObjectFactory") or
ServletContextHandler.getObjectFactory()
instead
DecoratedObjectFactory
from getAttribute("org.eclipse.jetty.util.DecoratedObjectFactory") or
ServletContextHandler.getObjectFactory()
instead
DecoratedObjectFactory
from getAttribute("org.eclipse.jetty.util.DecoratedObjectFactory") or
ServletContextHandler.getObjectFactory()
instead
Base64.Encoder.encodeToString(byte[])
} instead.
Dumpable.dump(Dumpable)
instead
Dumpable.dumpObject(Appendable, Object)
instead
Pool.StrategyType
to configure the pool.
Pool.reserve()
instead
URIUtil
or
UrlEncoded
instead
Resource.getListHTML(String, boolean, String)
instead and supply raw query string.
Resource.getURI()
.toURL() instead.
Resource.close()
SslContextFactory.Server.getNeedClientAuth()
instead
SslContextFactory.Server.getWantClientAuth()
instead
SampleStatistic.record(long)
instead
Locker.lock()
instead
Frame.isFin()
instead
WebSocketPolicy.delegateAs(WebSocketBehavior)
instead
WebSocketClient.setCookieStore(CookieStore)
or
HttpClient.setCookieStore(CookieStore)
instead
HttpClient.setBindAddress(SocketAddress)
to the internal
WebSocketClient(HttpClient)
HttpClient
instead
MappedWebSocketCreator.addMapping(org.eclipse.jetty.http.pathmap.PathSpec, WebSocketCreator)
instead.
(support classes moved to generic jetty-http project)
NativeWebSocketServletContainerInitializer.configure(ServletContextHandler, Configurator)
instead
WebSocketUpgradeFilter.addMapping(org.eclipse.jetty.http.pathmap.PathSpec, WebSocketCreator)
instead
ServletUpgradeRequest.getUserPrincipal()
instead
WebSocketCreator
to remove then during handshake.
LocalDate.toDateTimeAtStartOfDay()
which won't throw an exception
ContextFactory.call(ContextAction)
instead as
this method relies on usage of a static singleton "global"
ContextFactory.
ContextFactory.enterContext(Context)
instead as
this method relies on usage of a static singleton "global" ContextFactory.
ContextFactory.enterContext()
instead
Context.exit()
instead.
RhinoException.columnNumber()
from the super class.
RhinoException.lineNumber()
from the super class.
RhinoException.lineSource()
from the super class.
RhinoException.sourceName()
from the super class.
RhinoException.columnNumber()
from the super class.
RhinoException.lineNumber()
from the super class.
RhinoException.lineSource()
from the super class.
RhinoException.sourceName()
from the super class.
FunctionObject.getTypeTag(Class)
and
FunctionObject.convertArg(Context, Scriptable, Object, int)
for type conversion.
RhinoException.lineNumber()
from the super class.
RhinoException.sourceName()
from the super class.
NativeArray.getLength()
instead.
BaseFunction.getFunctionName()
instead.
For backwards compatibility keep an old method name used by
Batik and possibly others.
ScriptRuntime.constructError(String,String)
instead.
Context.getWrapFactory()
together with calling
WrapFactory.wrap(Context, Scriptable, Object, Class)
Ref.set(Context, Scriptable, Object)
instead
ScriptableObject.getAttributes(String name)
. The engine always
ignored the start argument.
ScriptableObject.setAttributes(String name, int attributes)
.
The engine always ignored the start argument.
ScriptRuntime.toObject(Scriptable, Object)
instead.
SecurityController.callWithDomain(Object securityDomain, Context cx, Callable callable, Scriptable scope, Scriptable thisObj, Object[] args)
.
Main.setSize(int, int)
instead.
WrappedException.getWrappedException()
instead.
UserAdminMBean.createUser(String)
or
UserAdminMBean.createGroup(String)
.
Component.scope()
.
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead.
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead.
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead.
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead.
ConditionalPermissionAdmin.newConditionalPermissionUpdate()
instead to manage the Conditional Permissions.
LogEntry.getLogLevel()
.
Logger
. See
LoggerFactory
.
ExportedPackage.getVersion()
.
Marker.hasReferences()
.
TokenFilter.Inclusion
argument instead.
JavaType
instead
JsonParser
JsonParser
instead
Stopwatch.createUnstarted()
instead. This
constructor is scheduled to be removed in Guava release 17.0.
ReplaceOneModel(Bson, Object, ReplaceOptions)
instead
AsynchronousSocketChannelStreamFactoryFactory.builder()
instead to construct the
AsynchronousSocketChannelStreamFactoryFactory
.
NettyStreamFactoryFactory.builder()
instead to construct the
NettyStreamFactoryFactory
.
Mongo.getDB(String)
MongoClient()
)
MongoClientURI(String)
WriteConcern.UNACKNOWLEDGED
UnavailableException(String)
instead.
TokenizerFactory
to extend the Tokenizer
functionality
StringEncoder
leads to a
NullPointerException
. Will be
removed in 2.0.
DiskFileItem
instead.
DiskFileItemFactory
instead.
FileUpload
instead.
SizeLimitExceededException(String, long, long)
AuthScheme.processChallenge(String)
method
AuthScheme.processChallenge(String)
method
AuthScheme.processChallenge(String)
method
AuthScheme.processChallenge(String)
method
ContentLengthInputStream(InputStream, long)
Creates a new length limited stream
StringRequestEntity(String, String, String)
instead
CloseShieldInputStream.wrap(InputStream)
instead.
CloseShieldReader.wrap(Reader)
instead.
ReaderInputStream(Reader, Charset)
instead
ReversedLinesFileReader(File, Charset)
instead
CloseShieldOutputStream.wrap(OutputStream)
instead.
CloseShieldWriter.wrap(Writer)
instead.
LockableFileWriter(File, Charset, boolean, String)
instead
WriterOutputStream(Writer, Charset)
instead
RombergIntegrator.integrate(UnivariateRealFunction, double, double)
method.
SimpsonIntegrator.integrate(UnivariateRealFunction, double, double)
method.
TrapezoidIntegrator.integrate(UnivariateRealFunction, double, double)
method.
BisectionSolver.solve(UnivariateRealFunction, double, double)
or
UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.
BrentSolver.solve(UnivariateRealFunction, double, double)
or
UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.
LaguerreSolver.solve(UnivariateRealFunction, double, double)
or
UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.
MullerSolver.solve(UnivariateRealFunction, double, double)
or
UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.
NewtonSolver.solve(UnivariateRealFunction, double, double)
or
UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.
RiddersSolver.solve(UnivariateRealFunction, double, double)
or
UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.
SecantSolver.solve(UnivariateRealFunction, double, double)
or
UnivariateRealSolver.solve(UnivariateRealFunction, double, double, double)
method.
ConvergenceException(Localizable, Object...)
NotARotationMatrixException(Localizable, Object...)
InvalidMatrixException(Localizable, Object...)
MatrixIndexException(Localizable, Object...)
MathException(Localizable, Object...)
MathRuntimeException(Localizable, Object...)
MaxEvaluationsExceededException(int, Localizable, Object...)
MaxIterationsExceededException(int, Localizable, Object...)
EventException(Localizable, Object...)
IntegratorException(Localizable, Object...)
OptimizationException(Localizable, Object...)
other constructor
instead.
String
,
char[]
in 5.0
String
,
char[]
in 5.0
HttpHostConnectException(java.io.IOException, org.apache.http.HttpHost,
java.net.InetAddress...)
DnsResolver
Scheme(String, int, SchemeSocketFactory)
FileEntity(File, ContentType)
AbstractContentBody(ContentType)
StringBody(String, ContentType)
or
MultipartEntityBuilder
FormBodyPartBuilder
.
StringEntity(String, ContentType)
CacheConfig.Builder
.
DefaultHttpResponseParser(
SessionInputBuffer, LineParser, HttpResponseFactory, MessageConstraints)
SingleClientConnManager(SchemeRegistry)
DefaultHttpRequestParser(SessionInputBuffer, LineParser,
HttpRequestFactory, MessageConstraints)
DefaultHttpResponseParser(SessionInputBuffer, LineParser,
HttpResponseFactory, MessageConstraints)
DefaultHttpRequestParser(
SessionInputBuffer, LineParser, HttpRequestFactory, MessageConstraints)
DefaultHttpResponseParser(
SessionInputBuffer, LineParser, HttpResponseFactory, MessageConstraints)
NFileEntity(File, ContentType, boolean)
RequestExpectContinue(boolean)
LazyInputStream(Supplier)
instead
ItemInfoImpl(Path, boolean)
instead. The
parentId is not used any more and the corresponding getter has been
removed.
NodeInfoImpl(Path, NodeId, int, Name, Name[], Iterator, Iterator, Iterator)
instead. The parentId is not used any more.
PropertyInfoImpl(Path, PropertyId, int, boolean, QValue[])
instead. The parentId is not used any more.
OrderSpec(Path, boolean)
instead.
ImportOptions.copy()
instead.
Analyzer.GLOBAL_REUSE_STRATEGY
Analyzer.PER_FIELD_REUSE_STRATEGY
EnglishPossessiveFilter(Version, TokenStream)
instead.
CollationKeyAnalyzer(Version, Collator)
and specify a version instead. This ctor will be removed in Lucene 5.0
StringField
,
TextField
instead.
Word6Extractor(DirectoryNode)
instead
CHPBinTable(byte[], byte[], int, int, CharIndexTranslator)
instead
org.apache.poi.hwpf.model.CHPFormattedDiskPage(byte[], int, int, TextPieceTable)
CHPFormattedDiskPage(byte[], int, CharIndexTranslator)
instead
org.apache.poi.hwpf.model.DocumentProperties(byte[], int)
DocumentProperties(byte[],int,int)
instead
OldSectionTable(byte[],int,int)
instead
RankedServices(Order)
to explicitly give the order.
JsonWriterSettings.builder()
, but note that the default output mode is different for that method
ObjectId(Date, int)
instead
SslContextFactory.Server
for this to work.
WebSocketClient(HttpClient)
instead
XmlConfiguration(org.eclipse.jetty.util.resource.Resource)
instead due to escaping issues
ContextFactory.enter()
or
ContextFactory.call(ContextAction)
instead. If you subclass
this class, consider using
Context(ContextFactory)
constructor
instead in the subclasses' constructors.
WrappedException(Throwable)
to report
exceptions in Java code.
JsonGenerator.Feature.WRITE_BIGDECIMAL_AS_PLAIN
instead
(using
ObjectWriter.with(com.fasterxml.jackson.core.JsonGenerator.Feature)
).
JsonInclude
or configuration overrides.
JsonInclude
or configuration overrides
(see
ObjectMapper.configOverride(Class)
}).
AuthenticationMechanism.SCRAM_SHA_1
in MongoDB 3.0, and is now deprecated
JavaVersion.JAVA_9
JsonInclude
ChildResource.injectionStrategy()
instead.
OSGiService.injectionStrategy()
instead.
RequestAttribute.injectionStrategy()
instead.
ResourcePath.injectionStrategy()
instead.
ScriptVariable.injectionStrategy()
instead.
Self.injectionStrategy()
instead
SlingObject.injectionStrategy()
instead
ValueMapValue.injectionStrategy()
instead
Component.scope()
.