Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Added isDefaultClientSet() method to FedoraRequest #2

merged 1 commit into from

2 participants


Hey Eddie,

This is following up on our recent email. I'm a git and github newbie, so please forgive any mistakes. I didn't write a unit test and haven't tested the code -- I can't build the fedora-client source in Eclipse due to errors which I won't get into here. In any case, this is obviously a pretty straightforward addition. The new method could be used also in execute(), but I thought it better to leave that up to you.


@eddies eddies merged commit 61f3863 into mediashelf:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 22, 2012
  1. Added isDefaultClientSet() method.

    unknown authored
This page is out of date. Refresh to see the latest.
9 fedora-client-core/src/main/java/com/yourmediashelf/fedora/client/request/
@@ -64,6 +64,15 @@ public static void setDefaultClient(FedoraClient client) {
+ * Return boolean indicating whether {@link #DEFAULT_CLIENT} has been set.
+ *
+ * @return boolean
+ */
+ public static boolean isDefaultClientSet() {
+ return (DEFAULT_CLIENT != null);
+ }
+ /**
* <p>Execute this request using the supplied FedoraClient instance.</p>
* @param fedora an instance of FedoraClient
Something went wrong with that request. Please try again.