OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 151 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 151 Rev 177
Line 298... Line 298...
298
    }
298
    }
299
 
299
 
300
    // *** Modify virtual rows ***
300
    // *** Modify virtual rows ***
301
 
301
 
302
    private final <T> Future<T> execInUpdateQ(final OfflineCallable<T> call) {
302
    private final <T> Future<T> execInUpdateQ(final OfflineCallable<T> call) {
303
        return this.getModel().getUpdateQ().execute(new FutureTask<T>(call));
303
        return this.getModel().getUpdateQ().add(new FutureTask<T>(call));
304
    }
304
    }
305
 
305
 
306
    public final Future<Number> add(final SQLRowValues vals) {
306
    public final Future<Number> add(final SQLRowValues vals) {
307
        // copy to avoid back-door and allow grow()
307
        // copy to avoid back-door and allow grow()
308
        final SQLRowValues copy = vals.deepCopy();
308
        final SQLRowValues copy = vals.deepCopy();