@@ -62,7 +62,7 @@ public synchronized void onCreate(RevokingTuple tuple, byte[] value) {
6262 return ;
6363 }
6464
65- addIfEmtpy ();
65+ addIfEmpty ();
6666 RevokingState state = stack .peekLast ();
6767 state .newIds .add (tuple );
6868 }
@@ -73,7 +73,7 @@ public synchronized void onModify(RevokingTuple tuple, byte[] value) {
7373 return ;
7474 }
7575
76- addIfEmtpy ();
76+ addIfEmpty ();
7777 RevokingState state = stack .peekLast ();
7878 if (state .newIds .contains (tuple ) || state .oldValues .containsKey (tuple )) {
7979 return ;
@@ -88,7 +88,7 @@ public synchronized void onRemove(RevokingTuple tuple, byte[] value) {
8888 return ;
8989 }
9090
91- addIfEmtpy ();
91+ addIfEmpty ();
9292 RevokingState state = stack .peekLast ();
9393 if (state .newIds .contains (tuple )) {
9494 state .newIds .remove (tuple );
@@ -239,7 +239,7 @@ public synchronized void disable() {
239239 disabled = true ;
240240 }
241241
242- private void addIfEmtpy () {
242+ private void addIfEmpty () {
243243 if (stack .isEmpty ()) {
244244 stack .add (new RevokingState ());
245245 }
@@ -280,7 +280,7 @@ public synchronized void shutdown() {
280280 }
281281 }
282282 } catch (Exception e ) {
283- System .err .println ("******** faild to pop revokingStore. " + e );
283+ System .err .println ("******** failed to pop revokingStore. " + e );
284284 } finally {
285285 System .err .println ("******** after revokingStore size:" + stack .size ());
286286 System .err .println ("******** after revokingStore contains:" + stack );
@@ -306,9 +306,9 @@ public Dialog(RevokingDatabase revokingDatabase) {
306306 this (revokingDatabase , false );
307307 }
308308
309- public Dialog (RevokingDatabase revokingDatabase , boolean disbaleOnExit ) {
309+ public Dialog (RevokingDatabase revokingDatabase , boolean disableOnExit ) {
310310 this .revokingDatabase = revokingDatabase ;
311- this .disableOnExit = disbaleOnExit ;
311+ this .disableOnExit = disableOnExit ;
312312 }
313313
314314 void commit () throws RevokingStoreIllegalStateException {
0 commit comments