update logs
authorBruno Sinou <bsinou@argeo.org>
Thu, 16 Jun 2011 16:39:54 +0000 (16:39 +0000)
committerBruno Sinou <bsinou@argeo.org>
Thu, 16 Jun 2011 16:39:54 +0000 (16:39 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@4576 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

eclipse/runtime/org.argeo.eclipse.ui.rap/src/main/java/org/argeo/eclipse/ui/specific/GenericUploadControl.java

index aff7c5ac35fe0ad14a6f3332b32d90ee30196ac1..48806b496aa5138575a0f8da5c3f91ee4f441b00 100644 (file)
@@ -31,7 +31,7 @@ public class GenericUploadControl extends Composite {
 
                upload = new Upload(parent, SWT.BORDER);
                upload.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
-               // upload.setBrowseButtonText(browseLabel);
+               upload.setBrowseButtonText(browseLabel);
                // upload.addModifyListener(new UploadListener());
                parent.pack();
        }
@@ -52,7 +52,7 @@ public class GenericUploadControl extends Composite {
                        if (upload.getUploadItem().getFileSize() == -1)
                                throw new ArgeoException("File "
                                                + upload.getUploadItem().getFileName()
-                                               + "has not been uploaded : its size = -1");
+                                               + " has not been uploaded, its size is -1");
 
                        InputStream inStream = null;
                        byte[] fileBA = null;