@Commit public void commit() { salt = (saltEncoded != null) ? StringUtil.fromHex(saltEncoded) : null; } }
@Commit public void commit() { repoId = (repoIdEncoded != null) ? StringUtil.fromHex(repoIdEncoded) : null; }
@Commit void afterDeserialization() { file = Paths.get(info); }
@Commit void afterDeserialization() throws MalformedURLException { url = new URL(info); } }
@Commit void afterDeserialization() throws MalformedURLException { url = new URL(info); }
/** * Restores base attribute value set references based on ids on deserialization. */ @Commit private void restoreBaseAttributeValueSets() { for (final AttributeValueSet attributeValueSet : attributeValueSets.values()) { attributeValueSet.baseAttributeValueSet = attributeValueSets .get(attributeValueSet.baseAttributeValueSetId); } }
@Commit void afterDeserialization() { try { value = FSDirectory.open(Paths.get(indexPath)); } catch (IOException e) { org.slf4j.LoggerFactory.getLogger(FSDirectoryWrapper.class).warn( "Could not deserialize index location.", e); } } }
@Commit private void afterSerialization() { map = SimpleXmlWrappers.unwrap(forSerialization); } }
@Commit @Complete private void initDeserialization() { if (initMap == null) { initMap = systemInitMap; } }
@Commit protected void initDeserialization() { env = createEnvironment(name, definitions); in = System.in; out = System.out; }
@Commit private void commit() throws Exception { if(startConcurrency < 1) { throw new IllegalArgumentException("Start concurrency must be greater than '"+startConcurrency+"'"); } if(startConcurrency > finishConcurrency) { throw new IllegalArgumentException("Start concurrency '"+startConcurrency+"' must be less than finish concurrency than '"+finishConcurrency+"'"); } repeat = connection.getRepeat(); }
@Override @Commit protected void initDeserialization() { init(collection, beanFinder, workingMode, composition); }
@Commit private void afterDeserialization() throws Exception { if (otherAttributesForSerialization != null) { attributes.putAll(SimpleXmlWrappers.unwrap(otherAttributesForSerialization)); } phrasesView = Collections.unmodifiableList(phrases); subclustersView = Collections.unmodifiableList(subclusters); // Documents will be restored on the ProcessingResult level }
@Commit protected void initDeserialization() { initResult(); context = new Properties(); }
@Commit protected void commit() { super.commit(); }
@Commit public void commit() { super.commit(); for (GcodeDriver driver : subDrivers) { driver.parent = this; } }
@Commit protected void initDeserialization() { initConstraints(constraints); }
@SuppressWarnings("unused") @Commit private void commit() throws Exception { setSourceUri(sourceUri); }
@SuppressWarnings("unused") @Commit private void commit() { for (BoardLocation boardLocation : boardLocations) { boardLocation.addPropertyChangeListener(this); } }
@SuppressWarnings("unused") @Commit protected void commit() { for (Head head : heads) { head.setMachine(this); } }