Index: applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoAction.java
===================================================================
--- applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoAction.java	(revision 32847)
+++ applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoAction.java	(revision 32848)
@@ -17,5 +17,4 @@
 import javax.swing.JScrollPane;
 import javax.swing.event.HyperlinkEvent;
-import javax.swing.event.HyperlinkListener;
 
 import org.openstreetmap.josm.Main;
@@ -93,19 +92,16 @@
                         msgLabel.setEditable(false);
                         msgLabel.setOpaque(false);
-                        msgLabel.addHyperlinkListener(new HyperlinkListener() {
-                            @Override
-                            public void hyperlinkUpdate(HyperlinkEvent hle) {
-                                if (HyperlinkEvent.EventType.ACTIVATED.equals(hle.getEventType())) {
-                                    if (hle.getURL() == null || hle.getURL().toString().isEmpty()) {
-                                        return;
-                                    }
-                                    System.out.println("URL: "+ hle.getURL());
-                                    if (!hle.getURL().toString().startsWith("http")) {
-                                        mRuian.performAction(hle.getURL().toString());
-                                    } else {
-                                        String ret = OpenBrowser.displayUrl(hle.getURL().toString());
-                                        if (ret != null) {
-                                            PointInfoUtils.showNotification(ret, "error");
-                                        }
+                        msgLabel.addHyperlinkListener(hle -> {
+                            if (HyperlinkEvent.EventType.ACTIVATED.equals(hle.getEventType())) {
+                                if (hle.getURL() == null || hle.getURL().toString().isEmpty()) {
+                                    return;
+                                }
+                                System.out.println("URL: "+ hle.getURL());
+                                if (!hle.getURL().toString().startsWith("http")) {
+                                    mRuian.performAction(hle.getURL().toString());
+                                } else {
+                                    String ret = OpenBrowser.displayUrl(hle.getURL().toString());
+                                    if (ret != null) {
+                                        PointInfoUtils.showNotification(ret, "error");
                                     }
                                 }
@@ -127,5 +123,5 @@
             new Thread(infoTask).start();
         } catch (Exception e) {
-            e.printStackTrace();
+            Main.error(e);
         }
     }
Index: applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoPlugin.java
===================================================================
--- applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoPlugin.java	(revision 32847)
+++ applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoPlugin.java	(revision 32848)
@@ -13,4 +13,8 @@
 public class PointInfoPlugin extends Plugin {
 
+    /**
+     * Constructs a new {@code PointInfoPlugin}.
+     * @param info plugin information
+     */
     public PointInfoPlugin(PluginInformation info) {
         super(info);
Index: applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoUtils.java
===================================================================
--- applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoUtils.java	(revision 32847)
+++ applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/PointInfoUtils.java	(revision 32848)
@@ -9,5 +9,9 @@
 import org.openstreetmap.josm.gui.Notification;
 
-public abstract class PointInfoUtils {
+public final class PointInfoUtils {
+
+    private PointInfoUtils() {
+        // Hide default constructor for utilities classes
+    }
 
     /**
@@ -19,9 +23,9 @@
         Notification note = new Notification(message);
 
-        if (type.equals("info"))
+        if ("info".equals(type))
             note.setIcon(JOptionPane.INFORMATION_MESSAGE);
-        else if (type.equals("warning"))
+        else if ("warning".equals(type))
             note.setIcon(JOptionPane.WARNING_MESSAGE);
-        else if (type.equals("error"))
+        else if ("error".equals(type))
             note.setIcon(JOptionPane.ERROR_MESSAGE);
         else
@@ -40,5 +44,4 @@
     public static String formatCoordinates(double lat, double lon) {
 
-        String r = "";
         DecimalFormatSymbols symbols = new DecimalFormatSymbols();
         symbols.setDecimalSeparator('.');
@@ -46,6 +49,5 @@
         DecimalFormat df = new DecimalFormat("#.00000", symbols);
 
-        r = "(" + df.format(lat) + ", " + df.format(lon) + ")";
-        return r;
+        return "(" + df.format(lat) + ", " + df.format(lon) + ")";
     }
 }
Index: applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruian/AddrPlaces.java
===================================================================
--- applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruian/AddrPlaces.java	(revision 32847)
+++ applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruian/AddrPlaces.java	(revision 32848)
@@ -218,6 +218,5 @@
 
     public String getVzdalenost() {
-        DecimalFormat df = new DecimalFormat("0.00");
-        return df.format(m_vzdalenost) + "m";
+        return new DecimalFormat("0.00").format(m_vzdalenost) + "m";
     }
 }
Index: applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruian/RuianModule.java
===================================================================
--- applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruian/RuianModule.java	(revision 32847)
+++ applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruian/RuianModule.java	(revision 32848)
@@ -14,5 +14,4 @@
 public class RuianModule {
 
-    private String m_text = "";
     private String URL = "http://josm.poloha.net/pointInfo/v4/index.php";
 
Index: applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruian/RuianRecord.java
===================================================================
--- applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruian/RuianRecord.java	(revision 32847)
+++ applications/editors/josm/plugins/pointInfo/src/org/openstreetmap/josm/plugins/pointinfo/ruian/RuianRecord.java	(revision 32848)
@@ -128,10 +128,9 @@
         m_katastr_kraj_kod = 0;
         m_katastr_kraj = "";
-
     }
 
     /**
      * Parse given JSON string and fill variables with RUIAN data
-     *
+     * @param jsonStr JSON string
      */
     public void parseJSON(String jsonStr) {
@@ -663,8 +662,8 @@
 
         if (m_objekt_ruian_id == 0 &&
-                m_parcela_ruian_id == 0 &&
-                m_adresni_mista.size() == 0 &&
-                m_ulice_ruian_id == 0 &&
-                m_katastr_ruian_id == 0)
+            m_parcela_ruian_id == 0 &&
+            m_adresni_mista.size() == 0 &&
+            m_ulice_ruian_id == 0 &&
+            m_katastr_ruian_id == 0)
             return "";
 
@@ -769,5 +768,5 @@
 
         // Reported errors
-        if (m_objekt_ruian_id > 0 && !m_err_user.equals("")) {
+        if (m_objekt_ruian_id > 0 && !m_err_user.isEmpty()) {
             r.append("<i><u>Nahlášený problém</u></i>");
             r.append("&nbsp;&nbsp;<a href=" + url_ruian_error + m_objekt_ruian_id + ">"+ icon_ext_link +"</a><br/>");
@@ -778,5 +777,5 @@
             r.append("<b>Typ problému: </b>" + m_err_type);
             r.append("<br/>");
-            if (!m_err_note.equals("")) {
+            if (!m_err_note.isEmpty()) {
                 r.append("<b>Poznámka: </b>" + m_err_note);
                 r.append("<br/>");
@@ -842,5 +841,5 @@
 
         // Near address places
-        if (m_adresni_mista.size() > 0 && m_objekt_ruian_id == 0) {
+        if (!m_adresni_mista.isEmpty() && m_objekt_ruian_id == 0) {
             String x, x_name;
             r.append("<i><u>Adresní místa v okolí</u></i><br/>");
@@ -886,5 +885,5 @@
         }
 
-        if (m_so_bez_geometrie.size() > 0) {
+        if (!m_so_bez_geometrie.isEmpty()) {
             r.append("<i><u>Budovy bez geometrie v okolí</u></i><br/>");
             r.append("<table>");
@@ -922,7 +921,7 @@
         String[] parts = ruianDate.split("\\.");
         try {
-            int day = Integer.valueOf(parts[0]);
-            int month = Integer.valueOf(parts[1]);
-            int year = Integer.valueOf(parts[2]);
+            int day = Integer.parseInt(parts[0]);
+            int month = Integer.parseInt(parts[1]);
+            int year = Integer.parseInt(parts[2]);
             r = Integer.toString(year) + "-" + String.format("%02d", month) + "-" + String.format("%02d", day);
         } catch (Exception e) {
@@ -940,6 +939,5 @@
      */
     String tagToString(String k, String v) {
-        String r = "\"" + k + "\"=\"" + v + "\"\n";
-        return r;
+        return "\"" + k + "\"=\"" + v + "\"\n";
     }
 
@@ -977,5 +975,5 @@
         if (keyType.startsWith("ghost") && !m_so_bez_geometrie.isEmpty()) {
             String[] key = keyType.split(":");
-            int i = Integer.valueOf(key[1]);
+            int i = Integer.parseInt(key[1]);
             System.out.println("Ghost ID: " + i);
 
@@ -1098,5 +1096,5 @@
         if (cmd.startsWith("tags.create-on-place")) {
             String[] key = cmd.split(":");
-            int i = Integer.valueOf(key[1]);
+            int i = Integer.parseInt(key[1]);
             node = new Node(m_adresni_mista.get(i).getPosition());
         } else {
