CVSROOT: /sources/classpath Module name: classpath Changes by: Mario Torre <neugens> 06/07/08 22:28:17
Modified files: native/jni/gconf-peer: GConfNativePeer.c gnu/java/util/prefs/gconf: GConfNativePeer.java . : ChangeLog gnu/java/util/prefs: GConfBasedPreferences.java Log message: 2006-07-09 Mario Torre <[EMAIL PROTECTED]> * native/jni/gconf-peer/GConfNativePeer.c: Fixed indentation to be more compliant to the GNU coding guidelines. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset): Added explicit test for errors in the GConf backend. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string): Added explicit test for errors in the GConf backend. Fixed Segmentation Fault when non valid key names are given as input. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string): likewise. (Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists): Added explicit test for errors in the GConf backend. * gnu/java/util/prefs/gconf/GConfNativePeer.java: Added javadoc comments for all native methods. (nodeExist): removed test to check for valid absolute path name for nodes. (startWatchingNode): likewise. (stopWatchingNode): likewise. (setString): likewise, plus fixed javadoc comments. (unset): likekwise. (getKey): likewise. (getKeys): likewise, also fixed javadoc comments. (getChildrenNodes): likewise. * gnu/java/util/prefs/GConfBasedPreferences.java: changed DEFAULT_USER_ROOT to /apps/classpath. (constructor): Test to check for a valid absolute path for nodes is now in the contructor for that node, instead of being on each method of the backend. (getGConfKey): removed empty new line. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/native/jni/gconf-peer/GConfNativePeer.c?cvsroot=classpath&r1=1.2&r2=1.3 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/util/prefs/gconf/GConfNativePeer.java?cvsroot=classpath&r1=1.1&r2=1.2 http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8052&r2=1.8053 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/util/prefs/GConfBasedPreferences.java?cvsroot=classpath&r1=1.1&r2=1.2