Revision ce2716a9 src/gr/ebs/gss/client/FileList.java

b/src/gr/ebs/gss/client/FileList.java
17 17
 * along with GSS.  If not, see <http://www.gnu.org/licenses/>.
18 18
 */
19 19
package gr.ebs.gss.client;
20

  
20
import gr.ebs.gss.client.commands.GetUserCommand;
21 21
import gr.ebs.gss.client.dnd.DnDSimpleFocusPanel;
22 22
import gr.ebs.gss.client.dnd.DnDTreeItem;
23 23
import gr.ebs.gss.client.rest.GetCommand;
......
674 674
						"(view)" + "</a>");
675 675
			else
676 676
				table.setHTML(i, 1, file.getName());
677
			table.setText(i, 2, file.getOwner());
677
				
678
			if(GSS.get().findUserFullName(file.getOwner()) == null){
679
				GetUserCommand guc = new GetUserCommand(file.getOwner());
680
				guc.execute();
681
				GSS.get().putUserToMap(file.getOwner(), file.getOwner());
682
			}
683
			table.setText(i, 2, GSS.get().findUserFullName(file.getOwner()));
678 684
			table.setText(i, 3, file.getPath());
679 685
			table.setText(i, 4, String.valueOf(file.getVersion()));
680 686
			table.setText(i, 5, String.valueOf(file.getFileSizeAsString()));

Also available in: Unified diff