Revision 1631

tmp/org.txm.core/src/java/org/txm/core/results/TXMResult.java (revision 1631)
200 200
	protected boolean computing = false;
201 201

  
202 202
	/**
203
	 * Generic toString method for TXMResults
203
	 * Generic toString() method for TXMResult.
204 204
	 */
205 205
	public String toString() {
206
		if (userName != null) return userName;
207
		else if (lazyName != null) return lazyName;
208
		
209
		return super.toString();
206
		if (userName != null && !userName.isEmpty()) {
207
			return userName;
208
		}
209
		else if (lazyName != null && !lazyName.isEmpty()) {
210
			return lazyName;
211
		}
212
		return this.getSimpleName();
210 213
	}
211 214

  
212 215
	/**

Also available in: Unified diff