Index: /applications/editors/josm/plugins/pdfimport/src/pdfimport/pdfbox/PageDrawer.java
===================================================================
--- /applications/editors/josm/plugins/pdfimport/src/pdfimport/pdfbox/PageDrawer.java	(revision 29911)
+++ /applications/editors/josm/plugins/pdfimport/src/pdfimport/pdfbox/PageDrawer.java	(revision 29912)
@@ -30,5 +30,4 @@
 import org.apache.pdfbox.pdmodel.PDPage;
 import org.apache.pdfbox.pdmodel.PDResources;
-import org.apache.pdfbox.pdmodel.common.PDRectangle;
 import org.apache.pdfbox.pdmodel.graphics.PDGraphicsState;
 import org.apache.pdfbox.pdmodel.interactive.annotation.PDAnnotation;
@@ -65,5 +64,5 @@
 	{
 		super( ResourceLoader.loadProperties(
-				"pdfimport/pdfbox/PageDrawer.properties", true ) );
+				"resources/pdfimport/pdfbox/PageDrawer.properties", true ) );
 	}
 
@@ -89,9 +88,8 @@
 		}
 
-		List annotations = page.getAnnotations();
+		List<?> annotations = page.getAnnotations();
 		for( int i=0; i<annotations.size(); i++ )
 		{
 			PDAnnotation annot = (PDAnnotation)annotations.get( i );
-			PDRectangle rect = annot.getRectangle();
 			String appearanceName = annot.getAppearanceStream();
 			PDAppearanceDictionary appearDictionary = annot.getAppearance();
@@ -102,5 +100,5 @@
 					appearanceName = "default";
 				}
-				Map appearanceMap = appearDictionary.getNormalAppearance();
+				Map<?, ?> appearanceMap = appearDictionary.getNormalAppearance();
 				if (appearanceMap != null) {
 					PDAppearanceStream appearance =
