respecify entry when adding a description? #13

Closed
FreakyBytes opened this Issue Jan 30, 2017 · 0 comments

Comments

Projects
None yet
1 participant
Owner

FreakyBytes commented Jan 30, 2017

Trac Ticket #11

component: code
owner: martin
reporter: martin
created: 2014-06-06 12:13:47
milestone:
type: task
version:
keywords:

an other thing but more superficial, for adding a metadata description, we are supposed to do like this:

{{{
#!java
entry.addDescription(new DefaultMetaDataObject(entry, "i1",jdomElement));
}}}

Maybe it's justified but is there any need to re-specify the current entry in the metadata object constructor again ?

comment 1

time: 2014-06-17 14:05:48
author: Martin Scharm martin@binfalse.de

In None:


entry not necessary for meta data anymore [fixes #11]

* you do not need to provide an ArchiveEntry to create meta data:

{{{
 #!java
entry.addDescription(new DefaultMetaDataObject(entry, "i1",jdomElement));
// becomes
entry.addDescription("i1", new DefaultMetaDataObject(jdomElement));

}}}

comment 2

time: 2014-06-17 14:05:48
author: Martin Scharm martin@binfalse.de

Updated resolution to fixed

comment 3

time: 2014-06-17 14:05:48
author: Martin Scharm martin@binfalse.de

Updated status to closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment