From: David ‘Bombe’ Roden Date: Sat, 17 Mar 2012 21:38:35 +0000 (+0100) Subject: Override toString() for simple displaying it in a List. X-Git-Tag: 0.10-rc1~19 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=9e440016f0d20050d3732bd303ea32a1ebfcfe70;p=jSite.git Override toString() for simple displaying it in a List. --- diff --git a/src/de/todesbaum/jsite/gui/FileScanner.java b/src/de/todesbaum/jsite/gui/FileScanner.java index 86c9ff5..c777ae8 100644 --- a/src/de/todesbaum/jsite/gui/FileScanner.java +++ b/src/de/todesbaum/jsite/gui/FileScanner.java @@ -320,6 +320,14 @@ public class FileScanner implements Runnable { return filename.equals(obj); } + /** + * {@inheritDoc} + */ + @Override + public String toString() { + return filename; + } + // // COMPARABLE METHODS //