From: Bob J. <jac...@us...> - 2007-05-31 15:04:12
|
Update of /cvsroot/jmri/jmri In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv4323/src/jmri Modified Files: AbstractTurnout.java Log Message: minor doc fixes. Undo synch addition Index: AbstractTurnout.java =================================================================== RCS file: /cvsroot/jmri/jmri/AbstractTurnout.java,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** AbstractTurnout.java 29 May 2007 06:46:27 -0000 1.23 --- AbstractTurnout.java 31 May 2007 15:04:09 -0000 1.24 *************** *** 63,67 **** * when a new commanded state is noticed from another command. */ ! protected synchronized void newCommandedState(int s) { if (_commandedState != s) { int oldState = _commandedState; --- 63,67 ---- * when a new commanded state is noticed from another command. */ ! protected void newCommandedState(int s) { if (_commandedState != s) { int oldState = _commandedState; *************** *** 80,84 **** * and hope for the best. */ ! public synchronized void setCommandedState(int s) { log.debug("set commanded state for turnout "+getSystemName()+" to "+s); newCommandedState(s); --- 80,84 ---- * and hope for the best. */ ! public void setCommandedState(int s) { log.debug("set commanded state for turnout "+getSystemName()+" to "+s); newCommandedState(s); *************** *** 112,116 **** * @param s New state value */ ! protected synchronized void newKnownState(int s) { if (_knownState != s) { int oldState = _knownState; --- 112,116 ---- * @param s New state value */ ! protected void newKnownState(int s) { if (_knownState != s) { int oldState = _knownState; *************** *** 134,138 **** /** ! * The name pretty much says it. Fur use by the TurnoutOperator classes. */ void setKnownStateToCommanded() { --- 134,140 ---- /** ! * The name pretty much says it. ! *<P> ! * Triggers all listeners, etc. For use by the TurnoutOperator classes. */ void setKnownStateToCommanded() { |