diff options
Diffstat (limited to 'dozentenmodul/src/main/java/App.java')
| -rw-r--r-- | dozentenmodul/src/main/java/App.java | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/dozentenmodul/src/main/java/App.java b/dozentenmodul/src/main/java/App.java index 96c9c335..541400e1 100644 --- a/dozentenmodul/src/main/java/App.java +++ b/dozentenmodul/src/main/java/App.java @@ -51,7 +51,7 @@ public class App { BasicConfigurator.configure(); return; } - + final FileAppender ffa = fa; final Pattern re = Pattern.compile("authorization:(\\w|\\+|/|\\s)+", Pattern.CASE_INSENSITIVE | Pattern.MULTILINE); @@ -110,23 +110,23 @@ public class App { LOGGER.error("IOException when trying to initialise the proxy, see trace: ", e); } -// // Set up thrift error message displaying -// ThriftManager.setErrorCallback(new ErrorCallback() { -// -// @Override -// public void thriftError(Throwable t, String message) { -// EventQueue.invokeLater(new Runnable() { -// -// @Override -// public void run() { -// JOptionPane.showMessageDialog(null, "Die Kommunikation mit dem Server ist fehlgeschlagen.\n" -// + "Bitte stellen Sie sicher, dass Sie mit dem Internet verbunden sind.\n" -// + "Sofern das Problem weiterhin besteht, liegt möglicherweise eine serverseitige\n" -// + "Störung vor.", "Fehler", JOptionPane.ERROR_MESSAGE); -// } -// }); -// } -// }); + // // Set up thrift error message displaying + // ThriftManager.setErrorCallback(new ErrorCallback() { + // + // @Override + // public void thriftError(Throwable t, String message) { + // EventQueue.invokeLater(new Runnable() { + // + // @Override + // public void run() { + // JOptionPane.showMessageDialog(null, "Die Kommunikation mit dem Server ist fehlgeschlagen.\n" + // + "Bitte stellen Sie sicher, dass Sie mit dem Internet verbunden sind.\n" + // + "Sofern das Problem weiterhin besteht, liegt möglicherweise eine serverseitige\n" + // + "Störung vor.", "Fehler", JOptionPane.ERROR_MESSAGE); + // } + // }); + // } + // }); // start the GUI GuiManager.initGui(); |
