From 4f9533c7722fa07511a94d005227961f4a4dec23 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 18 May 2006 17:29:21 +0000 Subject: Imported GNU Classpath 0.90 Imported GNU Classpath 0.90 * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale. * sources.am: Regenerated. * gcj/javaprims.h: Regenerated. * Makefile.in: Regenerated. * gcj/Makefile.in: Regenerated. * include/Makefile.in: Regenerated. * testsuite/Makefile.in: Regenerated. * gnu/java/lang/VMInstrumentationImpl.java: New override. * gnu/java/net/local/LocalSocketImpl.java: Likewise. * gnu/classpath/jdwp/VMMethod.java: Likewise. * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest interface. * java/lang/Thread.java: Add UncaughtExceptionHandler. * java/lang/reflect/Method.java: Implements GenericDeclaration and isSynthetic(), * java/lang/reflect/Field.java: Likewise. * java/lang/reflect/Constructor.java * java/lang/Class.java: Implements Type, GenericDeclaration, getSimpleName() and getEnclosing*() methods. * java/lang/Class.h: Add new public methods. * java/lang/Math.java: Add signum(), ulp() and log10(). * java/lang/natMath.cc (log10): New function. * java/security/VMSecureRandom.java: New override. * java/util/logging/Logger.java: Updated to latest classpath version. * java/util/logging/LogManager.java: New override. From-SVN: r113887 --- libjava/classpath/javax/swing/filechooser/FileFilter.java | 6 +++--- libjava/classpath/javax/swing/filechooser/FileView.java | 4 ++-- libjava/classpath/javax/swing/filechooser/UnixFileSystemView.java | 6 ++++++ 3 files changed, 11 insertions(+), 5 deletions(-) (limited to 'libjava/classpath/javax/swing/filechooser') diff --git a/libjava/classpath/javax/swing/filechooser/FileFilter.java b/libjava/classpath/javax/swing/filechooser/FileFilter.java index ecfa54b..de11525 100644 --- a/libjava/classpath/javax/swing/filechooser/FileFilter.java +++ b/libjava/classpath/javax/swing/filechooser/FileFilter.java @@ -1,5 +1,5 @@ /* FileFilter.java -- - Copyright (C) 2002, 2005 Free Software Foundation, Inc. + Copyright (C) 2002, 2005, 2006, Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -67,7 +67,7 @@ public abstract class FileFilter * * @param file the file. * - * @returns A boolean. + * @return A boolean. */ public abstract boolean accept(File file); @@ -78,7 +78,7 @@ public abstract class FileFilter * is used to select the appropriate filter (in cases where more than one * filter is available). * - * @returns A description of the filter. + * @return A description of the filter. */ public abstract String getDescription(); diff --git a/libjava/classpath/javax/swing/filechooser/FileView.java b/libjava/classpath/javax/swing/filechooser/FileView.java index ea1989f..8c2be32 100644 --- a/libjava/classpath/javax/swing/filechooser/FileView.java +++ b/libjava/classpath/javax/swing/filechooser/FileView.java @@ -1,5 +1,5 @@ /* FileView.java -- - Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc. + Copyright (C) 2002, 2004, 2005, 2006, Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -118,7 +118,7 @@ public abstract class FileView * * @param directory the directory. * - * @returns Always null. + * @return Always null. */ public Boolean isTraversable(File directory) { diff --git a/libjava/classpath/javax/swing/filechooser/UnixFileSystemView.java b/libjava/classpath/javax/swing/filechooser/UnixFileSystemView.java index c2f6596..96dfd2e 100644 --- a/libjava/classpath/javax/swing/filechooser/UnixFileSystemView.java +++ b/libjava/classpath/javax/swing/filechooser/UnixFileSystemView.java @@ -37,8 +37,11 @@ exception statement from your version. */ package javax.swing.filechooser; +import gnu.classpath.NotImplementedException; + import java.io.File; import java.io.IOException; + import javax.swing.Icon; @@ -110,6 +113,7 @@ class UnixFileSystemView extends FileSystemView * @return null. */ public String getSystemDisplayName(File f) + throws NotImplementedException { // FIXME: Implement; return null; @@ -124,6 +128,7 @@ class UnixFileSystemView extends FileSystemView * @return null. */ public Icon getSystemIcon(File f) + throws NotImplementedException { // FIXME: Implement; return null; @@ -138,6 +143,7 @@ class UnixFileSystemView extends FileSystemView * @return null. */ public String getSystemTypeDescription(File f) + throws NotImplementedException { // FIXME: Implement. return null; -- cgit v1.1