246247248249250251252253254255256
//noinspection MethodCallInLoopCondition for( Enumeration i = map.elements(); i.hasMoreElements(); ) { pe.setMessage( index + "/" + count ); index++; pe.increment(); pe.dispatch(); final Store store = (Store) i.nextElement(); try { store.shutdown();
258259260261262263264265266267268
catch( Exception e ) { log.error( e ); } } pe.increment(); pe.dispatch(); map.clear(); } }
287288289290291292293294295296297
pe.setAnimate( false ); pe.dispatch(); for( int i = 0; i < count; i++ ) { pe.setMessage( (i+1) + "/" + count ); pe.increment(); pe.dispatch(); try { safeCloseRecordStore( names[i] ); }
302303304305306307308309310311312
catch( RecordStoreFullException e ) { log.error( e ); } } pe.increment(); pe.dispatch(); } } public Listener getListener()
10761077107810791080108110821083108410851086
catch( javax.microedition.rms.InvalidRecordIDException e ) { pack.addRecord( empty, 0, 1 ); pack.deleteRecord( i ); } pe.increment(); pe.dispatch(); } drop(); open(); for( int i = 1; i < count; i++ )
10931094109510961097109810991100110111021103
catch( javax.microedition.rms.InvalidRecordIDException e ) { rs.addRecord( empty, 0, 1 ); rs.deleteRecord( i ); } pe.increment(); pe.dispatch(); } } catch( RecordStoreException e ) {
382383384385386387388389390391392
) ); event.setMessage( event.getPhase() ); ProgressEvent.dispatch( event ); // Now build objects softStart( event ); event.increment(); ProgressEvent.dispatch( event ); started = true; event.setCurrentValue( 2 );
730731732733734735736737738739740
status.deserialize( in ); status.setRecordId( recordId ); tableStatus.put( status.getTableName(), status ); break; } event.increment(); ProgressEvent.dispatch( event ); } } event.increment(); ProgressEvent.dispatch( event );
734735736737738739740741742743744
} event.increment(); ProgressEvent.dispatch( event ); } } event.increment(); ProgressEvent.dispatch( event ); } catch( Exception e ) { log.error( e );
10601061106210631064106510661067106810691070
"tableNames." + tableInfo.getName() ) ); pe.dispatch(); final Table table = (Table) tables.get( tableInfo.getName() ); table.pack(); pe.increment(); pe.dispatch(); } } /**