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:
Graham Triggs
2010-11-09 14:36:12 +00:00
parent 671cd90a58
commit e01d7ec537
3 changed files with 1 additions and 1288 deletions

View File

@@ -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>

View File

@@ -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();
}
} }
/** /**