You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ja...@apache.org on 2014/10/18 22:54:12 UTC
svn commit: r1632843 -
/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java
Author: jahewson
Date: Sat Oct 18 20:54:12 2014
New Revision: 1632843
URL: http://svn.apache.org/r1632843
Log:
PDFBOX-2370: Removed deprecated methods
Modified:
pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java
Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java?rev=1632843&r1=1632842&r2=1632843&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDResources.java Sat Oct 18 20:54:12 2014
@@ -118,22 +118,6 @@ public class PDResources implements COSO
}
/**
- * This will get the map of fonts. This will never return null. The keys are string and the values are PDFont
- * objects.
- *
- * @param fontCache A map of existing PDFont objects to reuse.
- * @return The map of fonts.
- *
- * @throws IOException If there is an error getting the fonts.
- *
- * @deprecated due to some side effects font caching is no longer supported, use {@link #getFonts()} instead
- */
- public Map<String, PDFont> getFonts(Map<String, PDFont> fontCache) throws IOException
- {
- return getFonts();
- }
-
- /**
* This will get the map of fonts. This will never return null.
*
* @return The map of fonts.