Skip to content

Commit

Permalink
front: Minor code simplification.
Browse files Browse the repository at this point in the history
  • Loading branch information
littleguy77 committed Jan 21, 2013
1 parent cc1363a commit 69ce7d9
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/paulscode/android/mupen64plusae/util/AssetExtractor.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,7 @@ public static boolean extractAssets( AssetManager assetManager, String srcPath,
{
out.write( buffer, 0, read );
}

in.close();
out.flush();
out.close();
}
catch( FileNotFoundException e )
{
Expand All @@ -108,15 +105,6 @@ public static boolean extractAssets( AssetManager assetManager, String srcPath,
{
if( out != null )
{
try
{
out.flush();
}
catch( IOException e )
{
Log.e( "AssetExtractor", "Failed to flush output file " + dstPath, e );
result = false;
}
try
{
out.close();
Expand Down

0 comments on commit 69ce7d9

Please sign in to comment.