deal with some warnings and other notes

This commit is contained in:
Ben Fry
2014-07-31 21:18:46 -04:00
parent 0e581f3a7a
commit ada4423aa9
10 changed files with 29 additions and 21 deletions

View File

@@ -647,8 +647,10 @@ public class PGraphicsPDF extends PGraphicsJava2D {
// fontList = new String[entries.size()];
fontList = new String[map.size()];
int count = 0;
for (Object entry : map.entrySet()) {
fontList[count++] = (String) ((Map.Entry) entry).getKey();
for (Object key : map.keySet()) {
// for (Object entry : map.entrySet()) {
// fontList[count++] = (String) ((Map.Entry) entry).getKey();
fontList[count++] = (String) key;
}
// Iterator it = entries.iterator();
// int count = 0;