Index: applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java
===================================================================
--- applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java	(revision 30197)
+++ applications/editors/josm/plugins/CommandLine/src/CommandLine/CommandLine.java	(revision 30203)
@@ -335,5 +335,5 @@
                 ImageryInfo info = ((ImageryLayer)layer).getInfo();
                 String url = info.getUrl();
-                String itype = info.getImageryType().getUrlString();
+                String itype = info.getImageryType().getTypeString();
                 loadParameter((url.equals("") ? itype : url), true);
                 action = new DummyAction(currentMapFrame, this);
@@ -484,4 +484,5 @@
         // redirect child process's stderr to JOSM stderr
         new Thread(new Runnable() {
+            @Override
             public void run() {
                 try {
@@ -502,4 +503,5 @@
         // Write stdin stream
         Thread osmWriteThread = new Thread(new Runnable() {
+            @Override
             public void run() {
                 BBox bbox = null;
@@ -571,4 +573,5 @@
         final CommandLine that = this;
         Thread osmParseThread = new Thread(new Runnable() {
+            @Override
             public void run() {
                 try {
