|
From: <chr...@us...> - 2009-04-10 13:13:36
|
Revision: 5241
http://jnode.svn.sourceforge.net/jnode/?rev=5241&view=rev
Author: chrisboertien
Date: 2009-04-10 13:13:26 +0000 (Fri, 10 Apr 2009)
Log Message:
-----------
checkstyle fixes
Signed-off-by: cluster <cluster@cluster-laptop.(none)>
Modified Paths:
--------------
trunk/fs/src/fs/org/jnode/fs/command/FindCommand.java
trunk/fs/src/fs/org/jnode/fs/command/archive/Zip.java
trunk/shell/src/shell/org/jnode/shell/command/BasenameCommand.java
trunk/shell/src/shell/org/jnode/shell/command/DirnameCommand.java
trunk/shell/src/shell/org/jnode/shell/command/HeadCommand.java
trunk/shell/src/shell/org/jnode/shell/command/TailCommand.java
Modified: trunk/fs/src/fs/org/jnode/fs/command/FindCommand.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/command/FindCommand.java 2009-04-10 04:41:39 UTC (rev 5240)
+++ trunk/fs/src/fs/org/jnode/fs/command/FindCommand.java 2009-04-10 13:13:26 UTC (rev 5241)
@@ -42,7 +42,7 @@
"descent at most to given level of directories");
private final LongArgument mindepthArg = new LongArgument("mindepth", Argument.OPTIONAL,
"ignore files and directories at levels less than given level");
- private final StringArgument typeArg = new StringArgument( "type", Argument.OPTIONAL,
+ private final StringArgument typeArg = new StringArgument("type", Argument.OPTIONAL,
"filter results to show only files of given type. valid types are 'd' for directory and 'f' for file");
private final FileArgument dirArg = new FileArgument("directory", Argument.OPTIONAL | Argument.MULTIPLE,
"directory to start searching from");
Modified: trunk/fs/src/fs/org/jnode/fs/command/archive/Zip.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/command/archive/Zip.java 2009-04-10 04:41:39 UTC (rev 5240)
+++ trunk/fs/src/fs/org/jnode/fs/command/archive/Zip.java 2009-04-10 13:13:26 UTC (rev 5241)
@@ -21,18 +21,18 @@
package org.jnode.fs.command.archive;
import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.io.Reader;
-import java.io.PrintWriter;
+//import java.io.FileInputStream;
+//import java.io.FileOutputStream;
+//import java.io.InputStream;
+//import java.io.OutputStream;
+//import java.io.Reader;
+//import java.io.PrintWriter;
import java.io.IOException;
-import java.util.Enumeration;
-import java.util.zip.ZipFile;
-import java.util.zip.ZipEntry;
-import java.util.zip.ZipOutputStream;
-import java.util.zip.ZipException;
+//import java.util.Enumeration;
+//import java.util.zip.ZipFile;
+//import java.util.zip.ZipEntry;
+//import java.util.zip.ZipOutputStream;
+//import java.util.zip.ZipException;
public class Zip extends ArchiveCommand {
Modified: trunk/shell/src/shell/org/jnode/shell/command/BasenameCommand.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/command/BasenameCommand.java 2009-04-10 04:41:39 UTC (rev 5240)
+++ trunk/shell/src/shell/org/jnode/shell/command/BasenameCommand.java 2009-04-10 13:13:26 UTC (rev 5241)
@@ -52,6 +52,6 @@
}
}
- getOutput().getPrintWriter().println(name.substring(start,end));
+ getOutput().getPrintWriter().println(name.substring(start, end));
}
}
Modified: trunk/shell/src/shell/org/jnode/shell/command/DirnameCommand.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/command/DirnameCommand.java 2009-04-10 04:41:39 UTC (rev 5240)
+++ trunk/shell/src/shell/org/jnode/shell/command/DirnameCommand.java 2009-04-10 13:13:26 UTC (rev 5241)
@@ -50,7 +50,7 @@
if (end == -1) {
name = ".";
} else {
- name = name.substring(0,end);
+ name = name.substring(0, end);
}
}
Modified: trunk/shell/src/shell/org/jnode/shell/command/HeadCommand.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/command/HeadCommand.java 2009-04-10 04:41:39 UTC (rev 5240)
+++ trunk/shell/src/shell/org/jnode/shell/command/HeadCommand.java 2009-04-10 13:13:26 UTC (rev 5241)
@@ -20,10 +20,6 @@
package org.jnode.shell.command;
-import org.jnode.shell.syntax.ArgumentBundle;
-import org.jnode.driver.console.CompletionInfo;
-import org.jnode.shell.CommandLine.Token;
-
import org.jnode.shell.AbstractCommand;
import org.jnode.shell.syntax.Argument;
import org.jnode.shell.syntax.FlagArgument;
@@ -210,7 +206,7 @@
buffer = new byte[Math.min(n, bufsize)];
while (n > 0 && (len = in.read(buffer)) > 0) {
len = Math.min(n, len);
- out.write(buffer,0,len);
+ out.write(buffer, 0, len);
n -= len;
}
}
Modified: trunk/shell/src/shell/org/jnode/shell/command/TailCommand.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/command/TailCommand.java 2009-04-10 04:41:39 UTC (rev 5240)
+++ trunk/shell/src/shell/org/jnode/shell/command/TailCommand.java 2009-04-10 13:13:26 UTC (rev 5241)
@@ -245,7 +245,7 @@
buffer = new byte[bufsize];
while ((len = in.read(buffer)) > 0) {
- out.write(buffer,0,len);
+ out.write(buffer, 0, len);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|