Skip to content

Commit

Permalink
some cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jetztgradnet committed Jul 10, 2011
1 parent b4e77ed commit ca1beda
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/main/java/erjang/driver/efile/EFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,19 @@

package erjang.driver.efile;

import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileDescriptor;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStream;
import java.io.RandomAccessFile;
import java.lang.reflect.Field;
import java.nio.ByteBuffer;
import java.nio.ByteOrder;
import java.nio.channels.FileChannel;
import java.nio.channels.SelectableChannel;
import java.nio.charset.Charset;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.LinkedList;
Expand All @@ -46,7 +43,6 @@
import erjang.EBinList;
import erjang.EBinary;
import erjang.EHandle;
import erjang.EPort;
import erjang.ERT;
import erjang.ERef;
import erjang.EString;
Expand Down Expand Up @@ -85,11 +81,7 @@ private int getFDnumber(FileDescriptor fd) throws IllegalAccessException {
/**
*
*/
private static final Charset ISO_8859_1 = Charset.forName("ISO_8859_1");
private final EString command;
private FileChannel fd;
private EPort port;
private EPort key;
private int flags;
private TimerState timer_state;
private FileAsync invoke;
Expand Down Expand Up @@ -419,10 +411,8 @@ public static class Info {
*/
public EFile(EString command, Driver driver) {
super(driver);
this.command = command;

this.fd = (FileChannel) null;
this.key = port;
this.flags = 0;
this.invoke = null;
this.cq = new LinkedList<FileAsync>();
Expand Down Expand Up @@ -1374,9 +1364,6 @@ public void run() {


case FILE_PWD: {
int drive = buf.get();
char dr = drive==0 ? '?' : (char)('A'+drive);

d = new FileAsync() {

private String pwd;
Expand Down

0 comments on commit ca1beda

Please sign in to comment.