|
From: SVN c. m. f. t. SWORD-A. p. <swo...@li...> - 2012-04-21 17:40:32
|
Revision: 500
http://sword-app.svn.sourceforge.net/sword-app/?rev=500&view=rev
Author: richard-jones
Date: 2012-04-21 17:40:26 +0000 (Sat, 21 Apr 2012)
Log Message:
-----------
add default text for treatment
This is because in GET in the Edit-IRI often the treatment will not have a sensible value from the repository's point of view, but the field is required by the profile
Modified Paths:
--------------
JavaServer2.0/trunk/src/main/java/org/swordapp/server/DepositReceipt.java
Modified: JavaServer2.0/trunk/src/main/java/org/swordapp/server/DepositReceipt.java
===================================================================
--- JavaServer2.0/trunk/src/main/java/org/swordapp/server/DepositReceipt.java 2012-04-21 13:52:27 UTC (rev 499)
+++ JavaServer2.0/trunk/src/main/java/org/swordapp/server/DepositReceipt.java 2012-04-21 17:40:26 UTC (rev 500)
@@ -24,7 +24,7 @@
private IRI location = null;
private Entry entry;
private Map<String, String> statements = new HashMap<String, String>();
- private String treatment = null;
+ private String treatment = "no treatment information available";
private String verboseDescription = null;
private String splashUri = null;
private String originalDepositUri = null;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|