Index: /trunk/src/org/openstreetmap/josm/tools/WindowsShortcut.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/tools/WindowsShortcut.java	(revision 14198)
+++ /trunk/src/org/openstreetmap/josm/tools/WindowsShortcut.java	(revision 14199)
@@ -147,5 +147,5 @@
             byte fileAtts = link[fileAttsOffset];
             byte isDirMask = (byte) 0x10;
-            if ((fileAtts & isDirMask) > 0) {
+            if ((fileAtts & isDirMask) != 0) {
                 isDirectory = true;
             } else {
@@ -157,5 +157,5 @@
             final byte hasShellMask = (byte) 0x01;
             int shellLen = 0;
-            if ((flags & hasShellMask) > 0) {
+            if ((flags & hasShellMask) != 0) {
                 // the plus 2 accounts for the length marker itself
                 shellLen = bytesToWord(link, shellOffset) + 2;
