private void lockOnChange ( Object propertyId ) throws CmsException { if ( isDescriptorProperty ( propertyId ) ) { lockDescriptor ( ) ; } else { Locale l = m_bundleType . equals ( BundleType . PROPERTY ) ? m_locale : null ; lockLocalization ( l ) ; } }
Lock a file lazily if a value that should be written to the file has changed .