Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
BZ-1049368: additional fix related to dot files - now they are create…
Browse files Browse the repository at this point in the history
…d only if really needed
  • Loading branch information
porcelli committed Jan 16, 2014
1 parent 9db8cfd commit bcf1c13
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -43,6 +43,7 @@
import org.uberfire.io.attribute.DublinCoreAttributes;
import org.uberfire.io.attribute.DublinCoreAttributesUtil;
import org.uberfire.io.attribute.DublinCoreView;
import org.uberfire.java.nio.base.BasicFileAttributesUtil;
import org.uberfire.java.nio.base.version.VersionAttributeView;
import org.uberfire.java.nio.base.version.VersionRecord;
import org.uberfire.java.nio.file.NoSuchFileException;
Expand Down Expand Up @@ -102,7 +103,8 @@ public Map<String, Object> configAttrs( final Map<String, Object> _attrs,
checkNotNull( "_attrs", _attrs );
checkNotNull( "metadata", metadata );

Map<String, Object> attrs = DublinCoreAttributesUtil.cleanup( _attrs );
Map<String, Object> attrs = BasicFileAttributesUtil.cleanup( _attrs );
attrs = DublinCoreAttributesUtil.cleanup( attrs );
attrs = DiscussionAttributesUtil.cleanup( attrs );
attrs = OtherMetaAttributesUtil.cleanup( attrs );

Expand Down

0 comments on commit bcf1c13

Please sign in to comment.