[Schmitzm-commits] r1884 - in trunk/schmitzm-core/src/main/java/de/schmitzm: lang swing swing/table
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Thu Mar 1 00:20:55 CET 2012
Author: alfonx
Date: 2012-03-01 00:20:55 +0100 (Thu, 01 Mar 2012)
New Revision: 1884
Modified:
trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java
trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashMap.java
trunk/schmitzm-core/src/main/java/de/schmitzm/swing/WebFilesChooser.java
trunk/schmitzm-core/src/main/java/de/schmitzm/swing/WebFilesChooserPanel.java
trunk/schmitzm-core/src/main/java/de/schmitzm/swing/table/FilesSelectionTable.java
Log:
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java 2012-02-29 13:53:58 UTC (rev 1883)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/lang/LangUtil.java 2012-02-29 23:20:55 UTC (rev 1884)
@@ -2049,6 +2049,8 @@
return false;
if (trimmedLowcase.startsWith("wrong"))
return false;
+ if (trimmedLowcase.startsWith("kein"))
+ return false;
if (trimmedLowcase.startsWith("yes"))
return true;
if (trimmedLowcase.startsWith("ja"))
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashMap.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashMap.java 2012-02-29 13:53:58 UTC (rev 1883)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/lang/TimedHashMap.java 2012-02-29 23:20:55 UTC (rev 1884)
@@ -24,8 +24,8 @@
* @param timeout
* Anz. ms die Einträge gültig sind.
*/
- public TimedHashMap(int timeout) {
- this.timeout = timeout;
+ public TimedHashMap(Number timeout) {
+ this.timeout = timeout.intValue();
}
@Override
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/WebFilesChooser.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/WebFilesChooser.java 2012-02-29 13:53:58 UTC (rev 1883)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/WebFilesChooser.java 2012-02-29 23:20:55 UTC (rev 1884)
@@ -36,8 +36,6 @@
import java.net.URL;
import java.util.List;
-import de.schmitzm.swing.OkCancelDialog;
-
/**
* Dialog to select files from a web directory.
* <b>Note:</b>The panel expects that the base URL does specify a simple web
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/WebFilesChooserPanel.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/WebFilesChooserPanel.java 2012-02-29 13:53:58 UTC (rev 1883)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/WebFilesChooserPanel.java 2012-02-29 23:20:55 UTC (rev 1884)
@@ -32,7 +32,6 @@
import java.awt.BorderLayout;
import java.awt.Cursor;
import java.awt.event.ActionEvent;
-import java.awt.event.ActionListener;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.io.IOException;
@@ -49,18 +48,14 @@
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.JSplitPane;
-import javax.swing.JTextField;
import javax.swing.ListSelectionModel;
+import net.miginfocom.swing.MigLayout;
+
import org.apache.log4j.Logger;
-import net.miginfocom.swing.MigLayout;
import de.schmitzm.io.IOUtil;
import de.schmitzm.lang.LangUtil;
-import de.schmitzm.swing.ExceptionDialog;
-import de.schmitzm.swing.JPanel;
-import de.schmitzm.swing.SwingUtil;
-import de.schmitzm.swing.URLAddressPanel;
import de.schmitzm.swing.table.FilesSelectionTable;
import de.schmitzm.swing.table.FilesSelectionTable.FilesSelectionTableModel;
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/swing/table/FilesSelectionTable.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/swing/table/FilesSelectionTable.java 2012-02-29 13:53:58 UTC (rev 1883)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/swing/table/FilesSelectionTable.java 2012-02-29 23:20:55 UTC (rev 1884)
@@ -36,7 +36,6 @@
import java.util.List;
import javax.swing.JComponent;
-import javax.swing.table.DefaultTableCellRenderer;
import javax.swing.table.TableCellRenderer;
import javax.swing.table.TableModel;
More information about the Schmitzm-commits
mailing list