cleaning up warnings, specifying Java 1.6 for build in Eclipse, remove unused

This commit is contained in:
benfry
2011-11-12 17:31:06 +00:00
parent 0487c536a1
commit 436a81e330
18 changed files with 1510 additions and 1502 deletions
@@ -635,10 +635,9 @@ public class PGraphicsPDF extends PGraphicsJava2D {
* List the fonts known to the PDF renderer. This is like PFont.list(),
* however not all those fonts are available by default.
*/
@SuppressWarnings("unchecked")
static public String[] listFonts() {
if (fontList == null) {
HashMap<?,?> map = getMapper().getAliases();
HashMap<?, ?> map = getMapper().getAliases();
// Set entries = map.entrySet();
// fontList = new String[entries.size()];
fontList = new String[map.size()];