mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-19 07:53:08 +00:00
[DS-3952] New request mapping for 32-hex-digit item request tokens, so
requests are dispatchable. Also remove some voluminous debugging output.
This commit is contained in:
@@ -79,11 +79,10 @@ public class RequestItemBuilder
|
||||
public RequestItem build() {
|
||||
LOG.atDebug()
|
||||
.withLocation()
|
||||
.log("Building request with item ID {}",
|
||||
() -> requestItem.getItem().getID().toString());
|
||||
System.out.format("Building request with item ID %s%n",
|
||||
requestItem.getItem().getID().toString());
|
||||
new Throwable().printStackTrace(System.out);
|
||||
.log("Building request with item ID {} and bitstream ID {}",
|
||||
() -> requestItem.getItem().getID().toString(),
|
||||
() -> requestItem.getBitstream().getID().toString());
|
||||
|
||||
// Nothing to build.
|
||||
return requestItem;
|
||||
}
|
||||
|
Reference in New Issue
Block a user