Index: applications/editors/josm/plugins/CommandLine/build.xml
===================================================================
--- applications/editors/josm/plugins/CommandLine/build.xml	(revision 30197)
+++ applications/editors/josm/plugins/CommandLine/build.xml	(revision 30203)
@@ -4,5 +4,5 @@
     <property name="commit.message" value="JOSM/CommandLine: fix exception after JOSM update"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="6162"/>
+    <property name="plugin.main.version" value="6690"/>
 
     <!-- Configure these properties (replace "..." accordingly).
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 {
