Index: /applications/editors/josm/plugins/indoorhelper/src/model/IndoorHelperModel.java
===================================================================
--- /applications/editors/josm/plugins/indoorhelper/src/model/IndoorHelperModel.java	(revision 34309)
+++ /applications/editors/josm/plugins/indoorhelper/src/model/IndoorHelperModel.java	(revision 34310)
@@ -181,4 +181,5 @@
      * @author rebsc
      * @param role The Multipolygon Role as String
+     * @param innerRelation inner relation
      */
     public void editRelation(String role, Collection<OsmPrimitive> innerRelation) {
@@ -267,4 +268,5 @@
      * @author rebsc
      * @param ds active dataset
+     * @param relations relations
      * @return true if selected object is a relation
      */
Index: /applications/editors/josm/plugins/indoorhelper/src/org/openstreetmap/josm/plugins/indoorhelper/IndoorHelperPlugin.java
===================================================================
--- /applications/editors/josm/plugins/indoorhelper/src/org/openstreetmap/josm/plugins/indoorhelper/IndoorHelperPlugin.java	(revision 34309)
+++ /applications/editors/josm/plugins/indoorhelper/src/org/openstreetmap/josm/plugins/indoorhelper/IndoorHelperPlugin.java	(revision 34310)
@@ -22,4 +22,5 @@
 import java.io.File;
 import java.io.FileOutputStream;
+import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
@@ -45,9 +46,7 @@
  * @author egru
  * @author rebsc
- *
  */
 public class IndoorHelperPlugin extends Plugin implements PaintableInvalidationListener, ActiveLayerChangeListener {
 
-    @SuppressWarnings("unused")
     private IndoorHelperController controller;
     String sep = System.getProperty("file.separator");
@@ -59,6 +58,7 @@
      *
      * @param info general information about the plug-in
-     */
-    public IndoorHelperPlugin(PluginInformation info) throws Exception {
+     * @throws IOException if any I/O error occurs
+     */
+    public IndoorHelperPlugin(PluginInformation info) throws IOException {
         super(info);
         MainApplication.getLayerManager().addAndFireActiveLayerChangeListener(this);
@@ -68,12 +68,6 @@
         this.exportStyleFile("entrance_icon.png");
         this.exportStyleFile("elevator_icon.png");
-
-        //this.setIndoorValidator();
-    }
-
-
-    /**
-     * Secures that the plug-in is only loaded, if a new MapFrame is created.
-     */
+    }
+
     @Override
     public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {
@@ -81,24 +75,23 @@
 
         if (oldFrame == null && newFrame != null) {
+            // Secures that the plug-in is only loaded, if a new MapFrame is created.
             controller = new IndoorHelperController();
         }
     }
 
-
     /**
      * Exports the mapcss validator file to the preferences directory.
-     */
-    private void exportValidator(String resourceName) throws Exception {
-        InputStream stream = null;
+     * @param resourceName resource name
+     * @throws IOException if any I/O error occurs
+     */
+    private void exportValidator(String resourceName) throws IOException {
         OutputStream resStreamOut = null;
 
-        try {
-            stream = IndoorHelperPlugin.class.getResourceAsStream(resourceName);
+        try (InputStream stream = IndoorHelperPlugin.class.getResourceAsStream(resourceName)) {
             if (stream == null) {
                 System.out.println("Validator: stream is null");
-                throw new Exception("Cannot get resource \"" + resourceName + "\" from Jar file.");
-            }
-
-            String outPath;
+                throw new IOException("Cannot get resource \"" + resourceName + "\" from Jar file.");
+            }
+
             int readBytes;
             byte[] buffer = new byte[4096];
@@ -107,6 +100,5 @@
             File valDir = new File(valDirPath);
             valDir.mkdirs();
-            outPath = valDir.getAbsolutePath() +sep+ "indoorhelper.validator.mapcss";
-            System.out.println("Validator:"+outPath);
+            String outPath = valDir.getAbsolutePath() +sep+ "indoorhelper.validator.mapcss";
 
             resStreamOut = new FileOutputStream(outPath);
@@ -115,8 +107,4 @@
             }
             resStreamOut.close();
-        } catch (Exception ex) {
-            throw ex;
-        } finally {
-            stream.close();
         }
     }
@@ -124,10 +112,12 @@
     /**
      * Exports the mapCSS file to the preferences directory.
-     */
-    private void exportStyleFile(String resourceName) throws Exception {
+     * @param resourceName resource name
+     * @throws IOException if any I/O error occurs
+     */
+    private void exportStyleFile(String resourceName) throws IOException {
         try (InputStream stream = IndoorHelperPlugin.class.getResourceAsStream("/data/" + resourceName)) {
             if (stream == null) {
                 System.out.println("MapPaint: stream is null");
-                throw new Exception("Cannot get resource \"" + resourceName + "\" from Jar file.");
+                throw new IOException("Cannot get resource \"" + resourceName + "\" from Jar file.");
             }
 
@@ -146,6 +136,4 @@
                 }
             }
-        } catch (Exception ex) {
-            throw ex;
         }
     }
