Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

respecify entry when adding a description? #13

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

respecify entry when adding a description? #13

FreakyBytes opened this issue Jan 30, 2017 · 0 comments

Comments

@FreakyBytes
Copy link
Member

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
Projects
None yet
Development

No branches or pull requests

1 participant