|
Deprecated Methods |
com.atlassian.core.util.collection.ArrayUtils.add(String[], String)
use Guava's ObjectArrays.concat() |
com.atlassian.core.util.FileUtils.copy(InputStream, OutputStream)
since 3.18 use IOUtils.copy(InputStream, OutputStream) |
com.atlassian.core.util.FileUtils.copy(InputStream, OutputStream, int)
since 3.18 use IOUtils.copy(InputStream, OutputStream) |
com.atlassian.core.util.DateUtils.formatDurationString(long)
You should be calling formatDurationPretty |
com.atlassian.core.filters.AbstractFilter.getFilterConfig()
Not needed in final version of Servlet 2.3 API - replaced by init(). |
com.atlassian.core.util.thumbnail.Thumber.getImage(File)
since 4.6.3.
Use Thumber.getImage(java.io.File, com.google.common.base.Predicate) instead so that you can supply a predicate
to (for example) check that the image has reasonable dimensions that are unlikely to cause an OutOfMemoryError |
com.atlassian.core.util.thumbnail.Thumber.getImage(InputStream)
since 4.6.3.
Use Thumber.getImage(com.atlassian.core.util.ReusableBufferedInputStream, com.google.common.base.Predicate)
instead so that you can supply a predicate to (for example) check that the image has reasonable dimensions that are
unlikely to cause an OutOfMemoryError |
com.atlassian.core.util.FileUtils.getInputStreamTextContent(InputStream)
since 3.18 use IOUtils.toString(InputStream, String) |
com.atlassian.core.task.AbstractTaskQueue.getQueue()
use getTasks() instead. |
com.atlassian.core.util.collection.EasyList.mergeLists(List, List, List)
use Guava's Iterables.concat() |
com.atlassian.core.util.thumbnail.Thumber.scaleImageOld(Image, Thumber.WidthHeightHelper)
|
com.atlassian.core.filters.AbstractFilter.setFilterConfig(FilterConfig)
Not needed in final version of Servlet 2.3 API - replaced by init(). |
com.atlassian.core.filters.ServletContextThreadLocal.setRequest(HttpServletRequest)
since 2.16. This method is not longer a part of public API and
should not be used from outside of com.atlassian.core.filters package.
The visibility of this method will be changed to package private in the future;
no replacement provided. |
com.atlassian.core.util.collection.EasyList.shallowSplit(List, int)
use Guava's Lists.partition() |
com.atlassian.core.util.FileUtils.shutdownStream(InputStream)
since 3.18 use IOUtils.closeQuietly(OutputStream) |
com.atlassian.core.util.FileUtils.shutdownStream(OutputStream)
since 3.18 use IOUtils.closeQuietly(OutputStream) |