From 8f523f3a1047919d3563daf1ef47ba87336ebe89 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 15 Nov 2005 23:20:01 +0000 Subject: Imported GNU Classpath 0.19 + gcj-import-20051115. * sources.am: Regenerated. * Makefile.in: Likewise. * scripts/makemake.tcl: Use glob -nocomplain. From-SVN: r107049 --- libjava/classpath/java/util/prefs/Preferences.java | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'libjava/classpath/java/util/prefs') diff --git a/libjava/classpath/java/util/prefs/Preferences.java b/libjava/classpath/java/util/prefs/Preferences.java index c407ae6..3fee1c5 100644 --- a/libjava/classpath/java/util/prefs/Preferences.java +++ b/libjava/classpath/java/util/prefs/Preferences.java @@ -230,15 +230,15 @@ public abstract class Preferences { } /** - * Returns the system preferences node for the package of an object. - * The package node name of the object is determined by dropping the - * class name of the object of the fully quallified class name and - * replacing all '.' to '/' in the package name. If the class of the + * Returns the system preferences node for the package of a class. + * The package node name of the class is determined by dropping the + * final component of the fully qualified class name and + * changing all '.' to '/' in the package name. If the class of the * object has no package then the package node name is "<unnamed>". - * The returened node is systemRoot().node(packageNodeName). + * The returned node is systemRoot().node(packageNodeName). * - * @param o Object whose default system preference node is requested - * @returns system preferences node that should be used by object o + * @param c Object whose default system preference node is requested + * @returns system preferences node that should be used by class c * @exception SecurityException when a security manager is installed and * the caller does not have RuntimePermission("preferences"). */ @@ -249,15 +249,15 @@ public abstract class Preferences { } /** - * Returns the user preferences node for the package of an object. - * The package node name of the object is determined by dropping the - * class name of the object of the fully quallified class name and - * replacing all '.' to '/' in the package name. If the class of the + * Returns the user preferences node for the package of a class. + * The package node name of the class is determined by dropping the + * final component of the fully qualified class name and + * changing all '.' to '/' in the package name. If the class of the * object has no package then the package node name is "<unnamed>". - * The returened node is userRoot().node(packageNodeName). + * The returned node is userRoot().node(packageNodeName). * - * @param o Object whose default user preference node is requested - * @returns user preferences node that should be used by object o + * @param c Object whose default userpreference node is requested + * @returns userpreferences node that should be used by class c * @exception SecurityException when a security manager is installed and * the caller does not have RuntimePermission("preferences"). */ -- cgit v1.1