[Mc4j-cvs] mc4j/src/org/mc4j/console/connection/persistence ConnectionSettings.java,1.8,1.9 Connecti
Brought to you by:
ghinkl
From: Greg H. <gh...@us...> - 2004-04-16 18:54:43
|
Update of /cvsroot/mc4j/mc4j/src/org/mc4j/console/connection/persistence In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7853/src/org/mc4j/console/connection/persistence Modified Files: ConnectionSettings.java ConnectionSettingsBeanInfo.java Log Message: Fixed the spelling of principal in all the connection code. (You will lose principals from old connection.dbs) Index: ConnectionSettingsBeanInfo.java =================================================================== RCS file: /cvsroot/mc4j/mc4j/src/org/mc4j/console/connection/persistence/ConnectionSettingsBeanInfo.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ConnectionSettingsBeanInfo.java 7 Feb 2004 16:10:41 -0000 1.6 --- ConnectionSettingsBeanInfo.java 16 Apr 2004 18:54:34 -0000 1.7 *************** *** 20,30 **** package org.mc4j.console.connection.persistence; ! import java.beans.BeanDescriptor; ! import java.beans.EventSetDescriptor; ! import java.beans.IndexedPropertyDescriptor; ! import java.beans.IntrospectionException; ! import java.beans.MethodDescriptor; ! import java.beans.PropertyDescriptor; ! import java.beans.SimpleBeanInfo; /** --- 20,24 ---- package org.mc4j.console.connection.persistence; ! import java.beans.*; /** *************** *** 89,93 **** properties[PROPERTY_liveTree].setDisplayName ( "Live Tree" ); properties[PROPERTY_liveTree].setPropertyEditorClass ( null ); ! properties[PROPERTY_principle] = new PropertyDescriptor ( "principle", ConnectionSettings.class, "getPrinciple", "setPrinciple" ); properties[PROPERTY_principle].setDisplayName ( "Principle" ); properties[PROPERTY_principle].setShortDescription ( "The principle or username used to connect." ); --- 83,87 ---- properties[PROPERTY_liveTree].setDisplayName ( "Live Tree" ); properties[PROPERTY_liveTree].setPropertyEditorClass ( null ); ! properties[PROPERTY_principle] = new PropertyDescriptor ( "principle", ConnectionSettings.class, "getPrincipal", "setPrincipal" ); properties[PROPERTY_principle].setDisplayName ( "Principle" ); properties[PROPERTY_principle].setShortDescription ( "The principle or username used to connect." ); Index: ConnectionSettings.java =================================================================== RCS file: /cvsroot/mc4j/mc4j/src/org/mc4j/console/connection/persistence/ConnectionSettings.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** ConnectionSettings.java 7 Feb 2004 16:10:41 -0000 1.8 --- ConnectionSettings.java 16 Apr 2004 18:54:34 -0000 1.9 *************** *** 38,42 **** private String initialContextName; private String serverUrl; ! private String principle; private String credentials; --- 38,42 ---- private String initialContextName; private String serverUrl; ! private String principal; private String credentials; *************** *** 62,66 **** new java.io.ObjectStreamField("jndiName", java.lang.String.class), new java.io.ObjectStreamField("libraryURI", java.lang.String.class), ! new java.io.ObjectStreamField("principle", java.lang.String.class), new java.io.ObjectStreamField("serverUrl", java.lang.String.class)}; --- 62,66 ---- new java.io.ObjectStreamField("jndiName", java.lang.String.class), new java.io.ObjectStreamField("libraryURI", java.lang.String.class), ! new java.io.ObjectStreamField("principal", java.lang.String.class), new java.io.ObjectStreamField("serverUrl", java.lang.String.class)}; *************** *** 160,177 **** } ! /** Getter for property principle. ! * @return Value of property principle. * */ ! public String getPrinciple() { ! return principle; } ! /** Setter for property principle. ! * @param principle New value of property principle. * */ ! public void setPrinciple(String principle) { ! this.principle = principle; } --- 160,177 ---- } ! /** Getter for property principal. ! * @return Value of property principal. * */ ! public String getPrincipal() { ! return principal; } ! /** Setter for property principal. ! * @param principal New value of property principal. * */ ! public void setPrincipal(String principal) { ! this.principal = principal; } |