浏览代码

Fixed cast.

Winston Li 12 年之前
父节点
当前提交
01f59e3f4e
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      services/git-bridge/src/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/Blob.java

+ 1 - 1
services/git-bridge/src/uk/ac/ic/wlgitbridge/writelatex/filestore/blob/Blob.java

@@ -18,7 +18,7 @@ public abstract class Blob implements PersistentStoreUpdater<AttachmentNode> {
         if (!(obj instanceof Blob)) {
         if (!(obj instanceof Blob)) {
             return false;
             return false;
         }
         }
-        ByteBlob that = (ByteBlob) obj;
+        Blob that = (Blob) obj;
         try {
         try {
             return Arrays.equals(getContents(), that.getContents());
             return Arrays.equals(getContents(), that.getContents());
         } catch (FailedConnectionException e) {
         } catch (FailedConnectionException e) {