|
From: <chr...@us...> - 2009-04-18 15:03:36
|
Revision: 5306
http://jnode.svn.sourceforge.net/jnode/?rev=5306&view=rev
Author: chrisboertien
Date: 2009-04-18 15:03:26 +0000 (Sat, 18 Apr 2009)
Log Message:
-----------
checkstyle fixes
Signed-off-by: chrisboertien <chr...@gm...>
Modified Paths:
--------------
trunk/core/src/driver/org/jnode/driver/console/textscreen/TextScreenConsole.java
trunk/fs/src/fs/org/jnode/fs/command/archive/Zip.java
trunk/fs/src/fs/org/jnode/fs/command/archive/ZipCommand.java
trunk/shell/src/shell/org/jnode/shell/io/ShellConsoleWriter.java
Modified: trunk/core/src/driver/org/jnode/driver/console/textscreen/TextScreenConsole.java
===================================================================
--- trunk/core/src/driver/org/jnode/driver/console/textscreen/TextScreenConsole.java 2009-04-18 14:54:00 UTC (rev 5305)
+++ trunk/core/src/driver/org/jnode/driver/console/textscreen/TextScreenConsole.java 2009-04-18 15:03:26 UTC (rev 5306)
@@ -149,17 +149,17 @@
*/
@Override
public void putChar(char v[], int offset, int length, int color) {
- // This method tries to paint runs of characters on the current screen
- // line with one call to screen.set(int, char[], int, int, int). The
- // 'mark' is the offset of the start of the current run. The 'limit'
- // is the offset at which we must end (or have ended) the current run.
+ // This method tries to paint runs of characters on the current screen
+ // line with one call to screen.set(int, char[], int, int, int). The
+ // 'mark' is the offset of the start of the current run. The 'limit'
+ // is the offset at which we must end (or have ended) the current run.
int mark = 0;
int limit = Math.min(length, scrWidth - curX) - 1;
for (int i = 0; i < length; i++) {
char c = v[i + offset];
if (c == '\n' || c == '\b' || c == '\t' || i == limit) {
- // The current run ends now. First, output all but 'c' directly to the
- // current screen line, adjusting curX and curY when we're done.
+ // The current run ends now. First, output all but 'c' directly to the
+ // current screen line, adjusting curX and curY when we're done.
final int ln = i - mark;
if (ln > 0) {
screen.set(screen.getOffset(curX, curY), v, offset + mark, ln, color);
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-18 14:54:00 UTC (rev 5305)
+++ trunk/fs/src/fs/org/jnode/fs/command/archive/Zip.java 2009-04-18 15:03:26 UTC (rev 5306)
@@ -22,7 +22,6 @@
import java.io.File;
import java.io.FileFilter;
-import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.LineNumberReader;
@@ -30,7 +29,6 @@
import java.util.ArrayList;
import java.util.Enumeration;
import java.util.List;
-import java.util.regex.Pattern;
import org.apache.tools.zip.ZipEntry;
import org.apache.tools.zip.ZipExtraField;
import org.apache.tools.zip.ZipFile;
Modified: trunk/fs/src/fs/org/jnode/fs/command/archive/ZipCommand.java
===================================================================
--- trunk/fs/src/fs/org/jnode/fs/command/archive/ZipCommand.java 2009-04-18 14:54:00 UTC (rev 5305)
+++ trunk/fs/src/fs/org/jnode/fs/command/archive/ZipCommand.java 2009-04-18 15:03:26 UTC (rev 5306)
@@ -20,8 +20,8 @@
package org.jnode.fs.command.archive;
-import java.text.DateFormat;
-import java.text.ParseException;
+//import java.text.DateFormat;
+//import java.text.ParseException;
import java.util.ArrayList;
import org.jnode.shell.syntax.Argument;
import org.jnode.shell.syntax.FlagArgument;
Modified: trunk/shell/src/shell/org/jnode/shell/io/ShellConsoleWriter.java
===================================================================
--- trunk/shell/src/shell/org/jnode/shell/io/ShellConsoleWriter.java 2009-04-18 14:54:00 UTC (rev 5305)
+++ trunk/shell/src/shell/org/jnode/shell/io/ShellConsoleWriter.java 2009-04-18 15:03:26 UTC (rev 5306)
@@ -91,8 +91,7 @@
}
@Override
- public Writer append(CharSequence csq, int start, int end)
- throws IOException {
+ public Writer append(CharSequence csq, int start, int end) throws IOException {
return writer.append(csq, start, end);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|