// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.olio.util; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import org.apache.commons.codec.binary.Hex; import org.apache.commons.codec.digest.DigestUtils; // Referenced classes of package com.olio.util: // ALog public class FileHash { public FileHash() { } public static String md5(File file) { Object obj; Object obj1; Object obj2; obj2 = null; obj = null; obj1 = null; file = new FileInputStream(file); obj = new String(Hex.encodeHex(DigestUtils.md5(file))); IOException ioexception; if (file != null) { try { file.close(); } // Misplaced declaration of an exception variable catch (File file) { } } return ((String) (obj)); obj; file = ((File) (obj1)); obj1 = obj; _L6: obj = file; ALog.d("Unable to find file to perform md5 hash", new Object[] { obj1 }); if (file != null) { try { file.close(); } // Misplaced declaration of an exception variable catch (File file) { } } return null; ioexception; file = obj2; _L4: obj = file; ALog.d("IOException peforming hash of file", new Object[] { ioexception }); if (file != null) { try { file.close(); } // Misplaced declaration of an exception variable catch (File file) { } } break MISSING_BLOCK_LABEL_68; file; _L2: if (obj != null) { try { ((FileInputStream) (obj)).close(); } // Misplaced declaration of an exception variable catch (Object obj) { } } throw file; ioexception; obj = file; file = ioexception; if (true) goto _L2; else goto _L1 _L1: ioexception; if (true) goto _L4; else goto _L3 _L3: ioexception; if (true) goto _L6; else goto _L5 _L5: } }