diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-10-20 11:40:05 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-10-20 11:40:05 -0230 |
commit | b51469b41167fb86ae2059a15cf0475c53fdda7b (patch) | |
tree | fc85d6ca2efd89c67e1e4e7438f437c3e08313f4 /java/src/IceGridGUI/Logger.java | |
parent | Fixed (ICE-5695) - IceSSL: misleading exception (diff) | |
download | ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.tar.bz2 ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.tar.xz ice-b51469b41167fb86ae2059a15cf0475c53fdda7b.zip |
Down with ant. From the gradle to the grave.
Diffstat (limited to 'java/src/IceGridGUI/Logger.java')
-rw-r--r-- | java/src/IceGridGUI/Logger.java | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/java/src/IceGridGUI/Logger.java b/java/src/IceGridGUI/Logger.java deleted file mode 100644 index 7e914d17502..00000000000 --- a/java/src/IceGridGUI/Logger.java +++ /dev/null @@ -1,72 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -package IceGridGUI; - -import javax.swing.JFrame; -import javax.swing.JOptionPane; -import javax.swing.SwingUtilities; - -public class Logger extends Ice.LoggerI -{ - public - Logger(JFrame mainFrame) - { - super("IceGrid Admin", ""); - - _mainFrame = mainFrame; - } - - @Override - public void - warning(final String message) - { - // - // Ignore spurious selector wake up warnings in solaris. - // - if(OS_IS_SOLARIS && message.equals("spurious selector wake up")) - { - return; - } - SwingUtilities.invokeLater(new Runnable() - { - @Override - public void run() - { - JOptionPane.showMessageDialog( - _mainFrame, - message, - "Warning - IceGrid Admin Logger", - JOptionPane.WARNING_MESSAGE); - } - }); - } - - @Override - public void - error(final String message) - { - SwingUtilities.invokeLater(new Runnable() - { - @Override - public void run() - { - JOptionPane.showMessageDialog( - _mainFrame, - message, - "Error - IceGrid Admin Logger", - JOptionPane.ERROR_MESSAGE); - } - }); - } - - private final JFrame _mainFrame; - - private static final boolean OS_IS_SOLARIS = System.getProperty("os.name").equals("SunOS"); -} |