Index: trunk/src/org/openstreetmap/josm/gui/preferences/imagery/CommonSettingsPanel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/preferences/imagery/CommonSettingsPanel.java	(revision 14326)
+++ trunk/src/org/openstreetmap/josm/gui/preferences/imagery/CommonSettingsPanel.java	(revision 14327)
@@ -89,5 +89,6 @@
 
         boolean restartRequired = false;
-        restartRequired |= removeCacheFiles(CachedTileLoaderFactory.PROP_TILECACHE_DIR.get(), 1024L * 1024L * ((Integer) this.maxElementsOnDisk.getValue()));
+        restartRequired |= removeCacheFiles(CachedTileLoaderFactory.PROP_TILECACHE_DIR.get(),
+                1024L * 1024L * ((Integer) this.maxElementsOnDisk.getValue()));
 
         if (!AbstractCachedTileSourceLayer.MAX_DISK_CACHE_SIZE.get().equals(this.maxElementsOnDisk.getValue())) {
Index: trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
===================================================================
--- trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java	(revision 14326)
+++ trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java	(revision 14327)
@@ -8,5 +8,4 @@
 import java.awt.Component;
 import java.awt.Font;
-import java.awt.GraphicsEnvironment;
 import java.awt.GridBagConstraints;
 import java.awt.GridBagLayout;
@@ -1208,4 +1207,9 @@
     }
 
+    /**
+     * Called in the download dialog to give the plugins a chance to modify the list
+     * of bounding box selectors.
+     * @param downloadSelections list of bounding box selectors
+     */
     public static void addDownloadSelection(List<DownloadSelection> downloadSelections) {
         for (PluginProxy p : pluginList) {
@@ -1214,4 +1218,8 @@
     }
 
+    /**
+     * Returns the list of plugin preference settings.
+     * @return the list of plugin preference settings
+     */
     public static Collection<PreferenceSettingFactory> getPreferenceSetting() {
         Collection<PreferenceSettingFactory> settings = new ArrayList<>();
Index: trunk/test/unit/org/openstreetmap/josm/io/OverpassDownloadReaderTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/io/OverpassDownloadReaderTest.java	(revision 14326)
+++ trunk/test/unit/org/openstreetmap/josm/io/OverpassDownloadReaderTest.java	(revision 14327)
@@ -73,5 +73,5 @@
         final String query = getExpandedQuery("amenity=drinking_water");
         assertEquals("" +
-                "[out:xml][timeout:25][bbox:2.0,1.0,4.0,3.0];\n" +
+                "[out:xml][timeout:90][bbox:2.0,1.0,4.0,3.0];\n" +
                 "(\n" +
                 "  node[\"amenity\"=\"drinking_water\"];\n" +
@@ -135,5 +135,5 @@
         final String query = getExpandedQuery("amenity=drinking_water in London");
         assertEquals("" +
-                "[out:xml][timeout:25];\n" +
+                "[out:xml][timeout:90];\n" +
                 "area(3600065606)->.searchArea;\n" +
                 "(\n" +
@@ -168,5 +168,5 @@
 
         assertTrue(OverpassDownloadReader.OUTPUT_FORMAT_STATEMENT.matcher(
-                "[out:pbf][timeout:25][bbox:{{bbox}}];\n" +
+                "[out:pbf][timeout:90][bbox:{{bbox}}];\n" +
                 "(\n" +
                 "  node[\"amenity\"=\"pharmacy\"];\n" +
@@ -205,5 +205,5 @@
                 "  )]"));
 
-        assertEquals("[out:json][timeout:25];\n" +
+        assertEquals("[out:json][timeout:90];\n" +
                 "(\n" +
                 "  node[\"historic\"=\"ringfort\"];\n" +
@@ -211,5 +211,5 @@
                 ");\n" +
                 "out meta;",
-            OverpassDownloadReader.fixQuery("[out:json][timeout:25];\n" +
+            OverpassDownloadReader.fixQuery("[out:json][timeout:90];\n" +
                 "(\n" +
                 "  node[\"historic\"=\"ringfort\"];\n" +
Index: trunk/test/unit/org/openstreetmap/josm/tools/OverpassTurboQueryWizardTest.java
===================================================================
--- trunk/test/unit/org/openstreetmap/josm/tools/OverpassTurboQueryWizardTest.java	(revision 14326)
+++ trunk/test/unit/org/openstreetmap/josm/tools/OverpassTurboQueryWizardTest.java	(revision 14327)
@@ -28,5 +28,5 @@
         final String query = OverpassTurboQueryWizard.getInstance().constructQuery("amenity=drinking_water");
         assertEquals("" +
-                "[out:xml][timeout:25][bbox:{{bbox}}];\n" +
+                "[out:xml][timeout:90][bbox:{{bbox}}];\n" +
                 "(\n" +
                 "  node[\"amenity\"=\"drinking_water\"];\n" +
