Mark Wood
e43faeee60
[DS-707] Try to use cached instances of boxed primitives.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5493 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 18:24:00 +00:00
Mark Wood
5d87264e20
[DS-707] Use cast instead of box/unbox for coercion.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5492 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 17:51:20 +00:00
Mark Wood
3bbfa0abec
String.trim() doesn't work that way; try to avoid unnecessary instances
...
of boxed primitives.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5491 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 17:37:25 +00:00
Mark Wood
945e5cd50b
[DS-707] Finalize constants, eliminate unnecessary boxed primitive.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5490 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 16:43:37 +00:00
Mark Wood
e3bba39e16
[DS-707] Don't instantiate a Boolean.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5489 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 16:42:10 +00:00
Graham Triggs
28a7aecf74
[DS-694] Fix writing of modification information to Item
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5488 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 16:37:03 +00:00
Graham Triggs
85b63acde8
[DS-707] Cleanup Vector / List use
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5487 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 16:31:27 +00:00
Mark Wood
3ea17470be
[DS-707] Don't create an instance where a built-in constant will do.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5486 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 16:18:58 +00:00
Mark Wood
102613378e
[DS-707] Replace inefficient boxed primitive construction.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5485 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 14:56:20 +00:00
Mark Wood
42b03b1e90
[DS-707] Improve type safety.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5484 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 14:28:45 +00:00
Mark Wood
f917e8de1b
Manifest constant should be static.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5483 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 14:25:18 +00:00
Mark Wood
0bbf324591
[DS-707] Replace inefficient instantiation of boxed primitives.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5482 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 14:24:23 +00:00
Graham Triggs
b67fa3fbed
[DS-707] Fix multithreading issues
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5481 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 14:05:34 +00:00
Graham Triggs
b19e893557
[DS-707] Fix threaded handling of DateFormatSymbols
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5480 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 13:19:11 +00:00
Graham Triggs
6a5b82371f
[DS-707] More efficient String handling
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5479 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 11:01:06 +00:00
Stuart Lewis
314b3ed1ba
[DS-588] Patch for SFX (OpenURL resolver)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5478 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-20 01:57:33 +00:00
Graham Triggs
d4a6ea6a1c
[DS-707] Inefficient use of keySet iterators
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5477 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 23:12:35 +00:00
Graham Triggs
067f0a3cac
Reorder test so that it doesn't break on a null pointer
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5476 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 22:48:34 +00:00
Stuart Lewis
87a29e8cc4
[DS-643] New testing framework (GSoC 2010) - Removing dspace-test module, and adding to dspace-api instead
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5475 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 22:18:58 +00:00
Graham Triggs
7c716b9e9b
[DS-707] Inefficient use of keySet iterators
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5474 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 21:55:07 +00:00
Mark Wood
2f4a74091c
[DS-707] Try to used cached instances of boxed primitive values.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5472 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 20:55:51 +00:00
Graham Triggs
4c3928d6b5
[DS-707] Make inner classes static
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5471 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 20:53:55 +00:00
Mark Wood
e1da11f5c2
[DS-707] Don't create instances of boxed primitives without need.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5470 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 20:52:36 +00:00
Mark Wood
4233ed1982
[DS-494] Treat SQL DECIMAL and NUMERIC as Long, not Integer.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5469 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 20:24:15 +00:00
Tim Donohue
14e1aeac50
RE: DS-708 (Deprecate & Remove old 'org.dspace.app.mets.METSExport' class, as it is obsolete), I'm officially marking METSExport as deprecated for DSpace 1.7.0. This class has been listed as deprecated in our System Administration Docs for a long time ( http://www.dspace.org/1_6_2Documentation/ch08.html#N15F08 ), but now it is official. As this class is currently still utilized by the OAI-PMH interface, we should likely refrain from removing & replacing it until DSpace 1.8.0.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5465 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 17:04:47 +00:00
Graham Triggs
f1fc1f534c
[DS-707] Remove pointless synchronization
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5464 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 16:42:57 +00:00
Graham Triggs
2a330a00c9
[DS-707] Fix array construction
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5463 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 16:41:09 +00:00
Graham Triggs
e1c120a439
[DS-707] Fix string comparisons
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5462 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 16:35:50 +00:00
Graham Triggs
b3f767eb36
[DS-707] Various typo fixes, including a bug in bitstream handling over the bundle THUMBNAIL (THUMBMNAIL)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5461 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 16:10:27 +00:00
Graham Triggs
45d6e7dee4
[DS-697] Allow media filter plugins to register their input formats directly
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5457 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 00:32:45 +00:00
Graham Triggs
ab28ac1c6d
[DS-695] DatabaseManager to use DataSource, allow for JNDI
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5456 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 00:27:48 +00:00
Graham Triggs
77fdf71154
[DS-696] Reduce cost of browse pruning
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5455 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-19 00:19:19 +00:00
Kim Shepherd
5f743b5175
[DS-699] ChoiceAuthority plugin for old-style controlled vocabularies
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5454 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 21:24:10 +00:00
Tim Donohue
785ab61a19
[DS-387] Add ability for various Packager plugins to report their custom "options" via command line. Will close this issue after I update the 1.7.0 Wiki Docs so that they list this new option.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5453 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 20:01:09 +00:00
Mark Wood
c5d022f96b
[DS-636] Replace all lookups of handle.prefix with calls to new
...
HandleManager.getPrefix() to get a guaranteed non-null value possibly
defaulted to "123456789". Handle.net currently recognizes the default
as "unconfigured DSpace instance".
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5448 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 18:10:31 +00:00
Robin Taylor
b1ef2c59c1
[DS-621] When exporting an item delete all old items, not just those related to the current user.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5444 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-18 14:13:22 +00:00
Andrea Bollini
f87eb0ba8c
[DS-637] Browse index bug/fix ONLY for authority index: first "too low" confidence value stop current item metadata to be indexed in the autority index
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5440 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-17 14:03:31 +00:00
Mark Wood
1c6ecd92b3
Tidy up unused imports, raw types, deprecated conversions of File to URL.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5437 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 17:41:55 +00:00
Mark Wood
9e7a63fcc0
Noted in passing: System.exit() called. Replaced to throw RuntimeException.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5436 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 14:28:13 +00:00
Stuart Lewis
273415cfed
[DS-646] Remove /bin scripts (replaced by 'dspace' command)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5432 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 03:41:48 +00:00
Stuart Lewis
4e8ea7c853
Correcting typo in success message
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5431 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 03:15:36 +00:00
Stuart Lewis
04f7054c44
Correct a javadoc parameter, and add space to email template between name and email address
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5430 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 03:12:04 +00:00
Stuart Lewis
5c42e27ce2
[DS-632] Batch Metadata Import needs to validate metadata fields specified in CSVs
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5429 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-15 02:53:20 +00:00
Tim Donohue
b1297358c4
Minor cleanup of comments in METSRightsCrosswalk class.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5427 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-13 19:39:48 +00:00
Tim Donohue
41342723f4
Fix small XML validation error in METSRightsCrosswalk -- because of a typo, was accidentally setting an invalid METSRights @CONTEXTCLASS attribute value.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5426 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-13 18:14:14 +00:00
Tim Donohue
15de1cc640
Resolving another small METS validation bug in AIP code. The METS @ID attribute doesn't allow a "/" (slash). Fixing the generated @ID value so that it instead includes the Handle with any slashes replaced with dashes. Also fixed a possible NullPointerException if Handle==null.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5425 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-13 17:59:35 +00:00
Mark Wood
baae889ed0
Clarify which Collection is which, in the item mapper pages.
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5424 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-12 20:13:47 +00:00
Graham Triggs
0d8280ccb5
[DS-696] Reduce cost of browse pruning
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5423 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-12 10:46:23 +00:00
Graham Triggs
356b2ba892
[DS-698] Clears any primary_bitstream_id referencing a bitstream being deleted (causes integrity violation in cleanup)
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5421 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-12 09:47:03 +00:00
Tim Donohue
0724d54411
Resolving METS validation bug, located by Robin Taylor. The METS @ID attribute does not allow a colon (:) in its value. Previously, I had mistakenly added "hdl:" as part of the @ID attribute value during one of my AIP-based commits. This commit fixes that issue by removing the string "hdl:" from the @ID. The @ID now has a format of "Dspace-[objectType]-[objectHandle]".
...
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5411 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2010-10-08 15:06:34 +00:00