X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FBlogReader.java;h=757bb01bbe4986b50da988a16dc5c6d814a330a8;hb=81566f0db459762fb716dcd54e1c04086f7ed72b;hp=9d68af170191e08bd3236ea66ad410b3be22f7ad;hpb=f4766a7bbcfae845fc95923b01fa14ff83d589ff;p=jalview.git diff --git a/src/jalview/gui/BlogReader.java b/src/jalview/gui/BlogReader.java index 9d68af1..757bb01 100644 --- a/src/jalview/gui/BlogReader.java +++ b/src/jalview/gui/BlogReader.java @@ -219,7 +219,7 @@ public class BlogReader extends JPanel } }; - }; + } private JLabel lblChannels = new JLabel(); @@ -365,7 +365,6 @@ public class BlogReader extends JPanel } catch (Exception x) { } - ; if (chan != null && chan.getItems() != null) { Cache.log.debug("Scanning news items: newsnew=" + newsnew @@ -538,7 +537,7 @@ public class BlogReader extends JPanel public LaunchJvBrowserOnItem(JList listItems) { super("Open in Browser"); - this.putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_O)); + this.putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_O)); this.putValue(Action.LONG_DESCRIPTION, "Open in Browser"); _listItems = listItems; } @@ -752,6 +751,10 @@ public class BlogReader extends JPanel } } + /** + * @j2sIgnore + * @param args + */ public static void main(String args[]) { // this tests the detection of new news based on the last read date stored @@ -788,7 +791,6 @@ public class BlogReader extends JPanel } catch (InterruptedException x) { } - ; } while (me.isVisible()); if (me.isNewsNew())