commit | 1122b7f091e4f3f63f0e855f6bfc08f41cca00f9 | [log] [tgz] |
---|---|---|
author | Judith Gull <jgu@bsiag.com> | Mon Sep 09 16:56:23 2013 +0200 |
committer | Judith Gull <jgu@bsiag.com> | Mon Sep 09 12:21:04 2013 -0400 |
tree | ba5891173ed1dce31daf41bf533e84a7690b559b | |
parent | 1db8d7439fd8cd76dfa10f4317a9b3f90eecc8cc [diff] |
bug 406527: Erroneus RemoteFile.hasMoreParts() https://bugs.eclipse.org/bugs/show_bug.cgi?id=406527 reverts change Change-Id: I5ce31a8cd4610043dcf7f71a1acf3ada24f8ed92 Reviewed-on: https://git.eclipse.org/r/16229 Tested-by: Hudson CI Reviewed-by: Judith Gull <jgu@bsiag.com> IP-Clean: Judith Gull <jgu@bsiag.com>
diff --git a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/file/RemoteFile.java b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/file/RemoteFile.java index 6e0fdca..98f836b 100644 --- a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/file/RemoteFile.java +++ b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/file/RemoteFile.java
@@ -210,11 +210,11 @@ /** * @return true if this is a large file that could not be transfered in one - * block. Use RemoteFileService.getRemoteFilePart(spec,1) to get the + * block. Use {@link IRemoteFileService#getRemoteFilePart(RemoteFile, long)} to get the * next block of the large server file. */ public boolean hasMoreParts() { - return getContentLength() > RemoteFile.DEFAULT_MAX_BLOCK_SIZE; + return getContentLength() == RemoteFile.DEFAULT_MAX_BLOCK_SIZE; } public int getPartStartPosition() {