asiri (SVN) wrote:
Author: asiri
Date: 2009-04-29 11:14:28 +0200 (Wed, 29 Apr 2009)
New Revision: 19186
Modified:
platform/core/branches/xwiki-core-1.8/xwiki-officeimporter/src/main/java/org/xwiki/officeimporter/internal/openoffice/DefaultOpenOfficeServerManager.java
Log:
XWIKI-3721: Starting an already started openoffice server should be prohibited
Shouldn't the UNKNOWN state also be considered, like:
if (ServerState.UNKNOWN != currentState && ServerState.RUNNING !=
currentState)
- if (ServerState.UNKNOWN != currentState) {
+ if (ServerState.RUNNING != currentState) {
--
Sergiu Dumitriu
http://purl.org/net/sergiu/