mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-18 15:33:09 +00:00
Removed GuiClient and dependency on swing-worker that isn't in Maven central
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5812 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -109,15 +109,6 @@
|
|||||||
<artifactId>commons-io</artifactId>
|
<artifactId>commons-io</artifactId>
|
||||||
<version>1.3.1</version>
|
<version>1.3.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- The Sword client libraries include some Java Swing examples -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.jdesktop</groupId>
|
|
||||||
<artifactId>swing-worker</artifactId>
|
|
||||||
<version>1.1</version>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
@@ -164,11 +164,7 @@ public class ClientFactory {
|
|||||||
* @return A new client.
|
* @return A new client.
|
||||||
*/
|
*/
|
||||||
public ClientType createClient(ClientOptions options) {
|
public ClientType createClient(ClientOptions options) {
|
||||||
if (options.isGuiMode()) {
|
return new CmdClient();
|
||||||
return new GuiClient();
|
|
||||||
} else {
|
|
||||||
return new CmdClient();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user