X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.db.common%2Fsrc%2Forg%2Fsimantics%2Fdb%2Fcommon%2FCommentMetadata.java;h=8ac3e72e03458b6d6ef7805c20b60bf700d03d35;hp=4a79eaf547c4ffcf83326c53797843d6cd08eca6;hb=6259de5991b9c11f6d46807d88f51830473adb13;hpb=969bd23cab98a79ca9101af33334000879fb60c5 diff --git a/bundles/org.simantics.db.common/src/org/simantics/db/common/CommentMetadata.java b/bundles/org.simantics.db.common/src/org/simantics/db/common/CommentMetadata.java index 4a79eaf54..8ac3e72e0 100644 --- a/bundles/org.simantics.db.common/src/org/simantics/db/common/CommentMetadata.java +++ b/bundles/org.simantics.db.common/src/org/simantics/db/common/CommentMetadata.java @@ -1,25 +1,25 @@ -package org.simantics.db.common; - -import java.util.TreeMap; - -import org.simantics.db.Session; -import org.simantics.db.common.utils.Logger; - -public class CommentMetadata extends ACommentMetadata { - public CommentMetadata(TreeMap metadata) { - super(metadata); - } - - public CommentMetadata(byte[] data) { - super(data); - } - - public static CommentMetadata deserialise(Session session, byte[] input) { - try { - return new CommentMetadata(input); - } catch (Throwable e) { - Logger.defaultLogError(e); - } - return new CommentMetadata((byte[])null); - } -} +package org.simantics.db.common; + +import java.util.TreeMap; + +import org.simantics.db.Session; +import org.simantics.db.common.utils.Logger; + +public class CommentMetadata extends ACommentMetadata { + public CommentMetadata(TreeMap metadata) { + super(metadata); + } + + public CommentMetadata(byte[] data) { + super(data); + } + + public static CommentMetadata deserialise(Session session, byte[] input) { + try { + return new CommentMetadata(input); + } catch (Throwable e) { + Logger.defaultLogError(e); + } + return new CommentMetadata((byte[])null); + } +}